Words Can Change The World!
Two Pointer Algorithm Explained
In this article, we will learn about the Two Pointer algorithm. The Two Pointer algorithm uses two pointers to iterate an array or list until conditions are met. This technique is useful because it allows us to keep track of two values and different indexes in a single iteration.
4 min readKadane’s Algorithm Explained
Let's learn about Kadane’s Algorithm (a.k.a. maximum sum subarray problem), which is a greedy dynamic programming algorithm that calculates the maximum subarray at a particular position. It also helps reduce the time complexity to linear time O(n).
4 min read
All Articles
Sliding Window Technique Explained
Apr 24, 2024
Insertion Sort Explained
May 4, 2023
Binary Search Explained
May, 21, 2023
TBA
TBA