3 ms·
agree w/ another comment that suggested going through an algorithms textbook first. (MIT 6.006 online is also good.) i speak from experience: in some cases ther
by sosilkj 7y ago
agree w/ another comment that suggested going through an algorithms textbook first. (MIT 6.006 online is also good.) i speak from experience: in some cases there might be tools missing from your algo toolbox and it could be worth more studying to fill in gaps.
for example, consider the maximum subarray problem (LC 53). this is a dynamic programming problem. but if you don't know DP, you could spend a long time staring at this problem without progress. even looking at the solutions won't be that informative if the concepts of DP are not familiar. MIT's 6.006 course takes four lectures to cover DP (not including the recitations!), which should tell you something.