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.
From experience? Sometimes. 🤣
Understanding the solution is more important than memorizing.
Firecode.io - the entire premise is to get you to cram and vomit on iDay lol
Tech Industry
Yesterday
1220
RIP Lacework
Tech Industry
Yesterday
1576
Google New Grad fired, can’t find job
2024 Presidential Election
Yesterday
2209
Biden ruined America and tech! Tax plans are insane
Tech Industry
Yesterday
1728
So hard being a women in tech industry
Layoffs
2d
41582
Google CFO confirms 'large-scale' layoffs (Apr 17)
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.
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
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).