Essential coding interview preparation tips you should know before you start
Prepare for your coding interview with practical tips that will help you study more effectively. Read what to focus on before solving LeetCode problems, how to recognize what you need to do and why, organize your preparation, and avoid common mistakes during the coding interview preparation process.
Read moreFast & Slow Pointers vs Two Pointers vs Sliding Window
In this post I compare Fast & Slow Pointers, Two Pointers, and Sliding Window patterns: how each pattern works, how pointers move, their key differences, and how to recognize which approach to use in LeetCode problems and coding interviews.
Read morePrefix Sum pattern: LeetCode problems and interview guide
The Prefix Sum pattern is one of the most useful array techniques for solving LeetCode problems involving subarray sums, range queries, cumulative values, and counting subarrays. This section covers common variations, recognition rules, and practical examples from LeetCode.
Read moreLinked list patterns for LeetCode and coding interviews
Essential linked list patterns for LeetCode and coding interviews, including traversal, search, and inserting nodes at the front and back
Read moreThere is no brute-force solutions
We're used to evaluating an algorithm's Time complexity, but we often overlook its Space complexity. However, often the best solution for Time complexity is a brute-force solution for Space complexity and vice versa.
Read more