This is what I discovered after solving 150 leetcode questions

I recently solved 150 leetcode questions, I realized these 150 or 100 questions should be considered as questions which make you familiar with algorithms.

These questions should consist of blind 75 (leave few tough ones, if you cannot solve them). I used neetcode.com which covered most of the patterns

After this your 151th question should be an honest question. By Honest I mean, dont look into solution. until you solve it to acheive 99 percent of test cases.

Why?
I solved an assessment mock test after these 150 and i solved one question completely and for other one i solved it with cases covered around 50%.

This basically thought me that. Okay, I know a lot of algorithms, if I find a new problem, I do this

  1. I give up easily after few test cases
  2. I don't dry run through test cases which Failed
  3. I didn't put a 30 min timer for easy-mediums
  4. I didnt put a 45 min timer for hard - hardmediums

If you didn't cleared that mock assessment, no way you are going to crack the actual interview.

I am distributing my next 100 questions into these

  1. Hard questions (these test your ability to give up and distribute the problem into chunks)
  2. Top 100 Google, facebook or any other target company you are preparing for

Hope this helps improve ability to Solve new problems!

Comments (3)