What's the difference between memorizing problems and studying leetcode?

Seems to me it's one and the same. I just do problems and their related problems. Then I try to memorize and understand solutions if I can't get AC in 15, 25, or 45 mins.

Oscar tc/gtfo May 28, 2018

Because it’s hard to memorize (I don’t have a photographic memory), and good interviewers often tweak the questions slightly. So it’ better to know how the problem is solved mentally, and memorize the corner cases. Anyway.... I am bad at leetcode. Too much work. 😭 but I need it for FAANG jobs.

New
Stoicguy May 28, 2018

For me, Learn by doing is the best way. If you’re familiar with those and have cs background, u just need to look at the good solutions. Otherwise it’ll take time to learn. Solving problems yourself is the best way to learn. I don’t think there’s a shortcut

Oscar tc/gtfo May 28, 2018

Yeah there are hundreds of them. I really enjoy solving Roman Numeral one. It took me like two hour something. Mostly just doing some testing before hand to make sure my solution is working before I start writing the code. That’s a classic example. I did not really know how to read roman numeral before hand (only the basic)... I would not the full problem as interview, maybe a smaller problem (limit the range).

This comment was deleted by the original commenter.
New
Tzal02 May 28, 2018

From experience? Sometimes. 🤣

Tesla LEETCODER May 28, 2018

Understanding the solution is more important than memorizing.

Twitter TeeCee May 28, 2018

Firecode.io - the entire premise is to get you to cram and vomit on iDay lol