โ† Coding Interview Prep (LeetCode) learning path
Coding Interview Prep (LeetCode) ยท Module 10 of 10

Mock interviews and strategy

Put it together: plan your practice and perform under time.

๐Ÿ“– Key ideas

  1. Practise by pattern: arrays, hashing, windows, stacks, trees, graphs, DP, heaps, intervals.
  2. Use a timer: about 20-30 minutes for a medium problem.
  3. Do mock interviews with peers and explain out loud.
  4. Keep an error log of mistakes and revisit problems after a week.
  5. Prepare to discuss time/space complexity and test cases for every solution.
๐Ÿ’ก Real-life example: Like cricket net practice: bowl at the same spots again and again, then play practice matches before the real one.
Mock interviewPractice interview with a peer
Error logNotes of your mistakes to revisit
Timed practiceSolving with a time limit
Pattern listTopics to cover in rotation