Live data from Hacker News

Spaced Repetition

gwern.net

11–20 of 70 posts

Re: Spaced Repetition

#11
post #6

I’ve been using spaced repetition to do algorithm puzzles. I find them really fun, and I’ll be looking for a job in a little less than a year. So, I thought I’d get a jumpstart on preparing. I don’t use them to memorize the answers, but more as a cue to do the problem. I add 1-5 new cards a day. The cards aren’t facts, but actual problems. It’s been really effective so far. I can pretty easily recognize what the piec…

Are you using the ANKI method like what was suggested in the article?

Also, what kind of problems are you putting into the cards? Are there any "must-know" interview questions that we should all study and memorize?

Please share an example card.

Re: Spaced Repetition

#12
post #9
post #6

I’ve been using spaced repetition to do algorithm puzzles. I find them really fun, and I’ll be looking for a job in a little less than a year. So, I thought I’d get a jumpstart on preparing. I don’t use them to memorize the answers, but more as a cue to do the problem. I add 1-5 new cards a day. The cards aren’t facts, but actual problems. It’s been really effective so far. I can pretty easily recognize what the piec…

Can you share an example card? I can’t picture what you’re doing.

Yea, I just use the types of problems that you’d see on Leetcode or any of the other code practice sites.

The one that I did this morning was:

If given the root of a binary tree, calculate the number of unival subtrees contained in the tree.

The back is usually either blank, or has a space and time complexity that I should get if I did it correctly.

It’s important to make sure you solve it at least once, and understand the solution well before you make a card of it.

Re: Spaced Repetition

#13
post #8
post #6

I’ve been using spaced repetition to do algorithm puzzles. I find them really fun, and I’ll be looking for a job in a little less than a year. So, I thought I’d get a jumpstart on preparing. I don’t use them to memorize the answers, but more as a cue to do the problem. I add 1-5 new cards a day. The cards aren’t facts, but actual problems. It’s been really effective so far. I can pretty easily recognize what the piec…

Very cool! What format/content does a typical card contain for this category of algorithm cards you use?

It’s usually just a problem and sometimes a simple example I can write as a test case for correctness.

Some cards I’ve put in lately are:

Calculate the level of a binary tree with the minimal sum of its elements.

Reconstruct a binary tree given an inorder and preorder list of the nodes.

The backs are usually blank or space and time complexities that I should be able to achieve.

Re: Spaced Repetition

#14
I find it very exciting that spaced repetition is find some interest here recently.

There recently was another discussion related to spaced repetition[0], and at the time I dismissed it. I mostly thought "huh, bad memory never really held me back in software engineering, so I don't really care", and that with the fact that my factual memory is probably the worst it has ever been.

Fast forward a month. My biochemistry university studies have started, and I'm absolutely in love with spaced repetition. It's been one of the best learning experiences of my life. I don't think I've ever acquired that much (factual) knowledge about a new field in such a short timeframe, though there a probably other factors at play too, like motivation.

I write Anki cards on my computer and sync them to my smartphones, and then do them on my commute and before I go to sleep. Every time I go through some of my course material and encounter something where I'm not sure what it means, I note the word (with context) down in my notebook and then later sit down to write a Anki card for it.

The first exams for the semester are still to come, but largely thanks to spaced repetition, I feel very confident about them. Really looking forward to applying it in other parts of my life in the future!

[0]: https://news.ycombinator.com/item?id=19529236

Re: Spaced Repetition

#15
post #6

I’ve been using spaced repetition to do algorithm puzzles. I find them really fun, and I’ll be looking for a job in a little less than a year. So, I thought I’d get a jumpstart on preparing. I don’t use them to memorize the answers, but more as a cue to do the problem. I add 1-5 new cards a day. The cards aren’t facts, but actual problems. It’s been really effective so far. I can pretty easily recognize what the piec…

Are you using the ANKI method like what was suggested in the article? Also, what kind of problems are you putting into the cards? Are there any "must-know" interview questions that we should all study and memorize? Please share an example card.

I read the article a long time ago, so I don’t remember what you mean by the ANKI method. Anki is a program that assists you by automatically serving you cards. The article is quite long, but very good.

I’ve given 3 examples in some other replies, but I’d say that it’s most beneficial to keep some common stuff in the front of your mind. Like various operations on graphs and trees, how exactly to formulate dynamic programming subproblems, etc. For that I’d say it’s better to have a lot of different problems in the deck for those types of those things, rather than memorizing definitions of DP and linked lists.

Re: Spaced Repetition

#16
I had considered using spaced repetition software for a while after a long time of being frustrated with my poor memory. I finally started using Anki last September after reading Augmenting Long-term Memory[1].

I started off with just putting in a new vocabulary word every day and have been gradually ramping up the amount of info that I put into it. Now, I will add anything from programming details (e.g. how do you get the number of characters in a Rust string?) to key facts from the books I read (e.g. in The English Patient, who does the patient have an affair with?). My review sessions only take 5-10 minutes a day, and my only regret is not starting this habit earlier (especially in school). It's incredibly gratifying to review something, know the answer, and be very aware that without Anki, I would have forgotten it a long time ago.

[1]: http://augmentingcognition.com/ltm.html

Re: Spaced Repetition

#17
I use Anki, but I have the problem that I tend to associate the specific form of the question, a particular latex formula etc. with the answer. As soon as I look at the question or read the first couple of words, the answer already pops up, so I'm afraid that I don't actually learn to remember the concepts but rather question/answer pairs. Does anybody have some recommendations for dealing with this problem?

Re: Spaced Repetition

#18

I use Anki, but I have the problem that I tend to associate the specific form of the question, a particular latex formula etc. with the answer. As soon as I look at the question or read the first couple of words, the answer already pops up, so I'm afraid that I don't actually learn to remember the concepts but rather question/answer pairs. Does anybody have some recommendations for dealing with this problem?

I have the same problem once in a while. Here are some things you can try.

1. Slow down your review session. I run into this problem mostly when I lose discipline and start skimming the question.

2. Put more effort into breaking info down into very atomic parts. For complex info, I'll still put in a high-level card, but I'll also put in cards that represent pieces of the info.

3. Add different cards for different methods of recall. I frequently add pairs of cards. For example, I added both "what is Betteridge's law?" and "what adage states that any headline that ends in a question mark can be answered with no?"

Re: Spaced Repetition

#20

I use Anki, but I have the problem that I tend to associate the specific form of the question, a particular latex formula etc. with the answer. As soon as I look at the question or read the first couple of words, the answer already pops up, so I'm afraid that I don't actually learn to remember the concepts but rather question/answer pairs. Does anybody have some recommendations for dealing with this problem?

Disclaimer: I've not been using Anki for too long

I had the same problem when I was initially only put in definitions into Anki. I was able to say the definition 1:1 but didn't form the concepts very well. My 2 (very similar) solutions for this (which I found to work pretty well), are:

1. Cross-referencing cards. I started editing a lot of cards, to add cross-references to other definitions that I also have cards for. For all the new cards I write now, I always try to have at least one reference to something that is on another card.

2. Meta-cards. I specifically add cards that test the knowledge of concepts, and me explaining it by adding cards like "Explain the difference between A and B".

3. Epic cards. When I started learning the periodic system of elements, along with the individual elements, I added a card for each group, a card for each group where I also have to know the element symbol, and a card for each group where I have to know the element symbol and atomic number. Obviously, I can only correctly solve a card if I know the easier versions of it, but it both provides a bigger goal to work towards, and also helps to put the smaller individual pieces of information I'm am learning into a context.

Post reply on HN