top of page


Finding The Middle Element - Singly Linked List
Given a singly linked list, find the middle element in it. If there are even number of nodes in the given linked list then return the

Code Recipe
Feb 13, 20224 min read


Singly Linked List - Everything You Need To Know
Linked list is a linear data structure. Each element in a linked list is an individual object. These individual objects are called nodes.

Code Recipe
Feb 12, 20228 min read


Insertion Sort - Your Sorting 101 Guide
Insertion sort is an in-place sorting algorithm. Insertion sort works by picking each unsorted element and placing it in its correct sorted

Code Recipe
Feb 4, 20224 min read


3 Sum - Leetcode #15 Short & Simple Solution
Given an array of integers, nums, return all the triplets in the given array nums[i], nums[j], nums[k] such that i != j, i != k, and j != k

Code Recipe
Jan 24, 20228 min read


LRU Cache - Everything You Need To Know
LRU cache stores items in the order in which they were requested. In LRU strategy, when the cache is full, the item that hasn't been used

Code Recipe
Jan 8, 20227 min read


Caching - System Design Building Blocks
A cache is a hardware or software component that acts as a temporary storage allowing fast access to data stored in it.

Code Recipe
Jan 3, 202210 min read
bottom of page