Mastering Coding Patterns

This article is a curated list of most of the required coding patterns needed to clear coding interviews. If you want to learn the concept of these coding patterns, do check out this article.

Below is a list of these patterns and their related problems from leetcode. The only thing you need is to practice at least 1 problem each day and then brush up on these problems before your interviews.

It is not that only these problems are asked in interviews but the idea is to train the mind to approach a problem. So first solve these patterns and then pick related problems on leetcode to improvise further.

Pattern: Two Pointers

Pattern: Sliding Window

Pattern: Fast & Slow pointers

Solutions related to the above problems in python can be found in this repository. This article is still in progress.