topics

topics

Binary Search

Introduction Binary search is a very popular algorithm for finding a target element in a sorted array. Algorithm Here’s a

topics

Recursion

Introduction Recursion is a common topic during coding interview. This post talks about how to succesfully write a correct recursion

topics

Quick Select

Introduction Quick select is an algorithm used to quickly locate the Kth largest/smallest element in an array. Technically speaking, it’s

topics

Merge Sort

Introduction Merge sort is another popular algorithm, with time complexity as O(nlogn). It’s leveraging the principle of divide and conquer,

topics

Quick Sort

Introduction Quick sort is one of the most popular algorithms for sorting. It’s not uncommon to see this algorithm or

topics

Prefix Sum

Prefix sum is a very useful technique which can be used for some subarray questions. Let’s look at how it

Scroll to Top