I am wondering what's the best sort order for leetcode problems. I am in prep mode and currently doing general prep and not any company specific. I know that I could not finish all so what is the best approach. Goal is to get in Top tier but currently just don't want to do company specific prep. #leetcode
Natural sort order
I started out just easy to hard, decreasing freq at random, but then pivoted to groupby topic first
Skip hard first and finish at least 400.
Sort by frequency. Do the top 100-150 most frequently asked questions and you should be in a good shape to interview.
Bogo sort order
Sorting is an O(nlogn) operation
Quicksort
Go topic wise: https://www.teamblind.com/post/New-Year-Gift---Curated-List-of-Top-75-LeetCode-Questions-to-Save-Your-Time-OaM1orEU Doing 10 problems on the same topic back to back makes me feel more confident. Finishing top 100 by frequency is also a good idea, there will be some overlap so you're doing less than 75+100.
Thanks. Do you mean top 100 plus these 75?
Following