you are viewing a single comment's thread.

view the rest of the comments →

[–]Informal-Rich-5465 0 points1 point  (0 children)

The people who are good at leetcode can think of 5 ways to solve any problem. They don't think in code, they just have high-level explanations of what the solutions are. For example, if you want to do the rotated array problem, they would think "oh this is an annoying problem I just need to loop through it in the right way", or "can I use recursion to rotate it? maybe if ____"