Big O Notation
This page only covers important nuances, mental models or hidden concepts
Bit Masking
The word mask in the name helps to understand and remember the concept.
Euclidean Algorithm
This is used to calculate the GCD of a number
Graph Search
The methods discussed in this page applies to any types of graphs.
Greedy Algorithms
Greedy algorithms are a problem-solving method used in programming tests.
Heuristic Algorithm
Heuristic word used a lot in technical discussions.
Knuth-Morris-Pratt Algorithm
This algorithm is one of the many algorithms used for pattern searching.
Monotonic Stack
It's an algorithm. It keeps the data in the stack in one direction:
Problem Patterns
In this page, I will collect different problem patterns that we come across.
Recursions
Recursive programming is a natural fit for many use cases.
Sorting
I always get confused with the sorting algorithms.
Sub Array Sum
This algorithm aims at finding sub arrays (continuous elements) in an array have sum of its element as k.
Topological Sort
Topological sort orders the nodes in a graph by their dependencies.