top of page


LeetCode - Remove Duplicates from Sorted Array Fastest Solution
Given an integer array nums sorted in ascending order, move all single occurrences of elements in it to the beginning of the nums array

Code Recipe
Dec 28, 20244 min read
Â
Â
Â


LeetCode - Number of Islands BFS Solution
Given a m x n 2D binary array grid which represents of map of '1's (land) and '0's (water), return the number of islands in this grid.

Code Recipe
Dec 27, 20244 min read
Â
Â
Â


LeetCode - Number of Islands Fastest Solution
Given a 2D m x n array grid containing only 1s (land) and 0s (water), count the number of islands in it. An island is surrounded by

Ashwin Shirva
Dec 26, 20244 min read
Â
Â
Â


LeetCode - Minimum Size Subarray Sum
Given an array of positive integers nums and a positive number target, find the length of the smallest contiguous subarray whose sum is

Code Recipe
Dec 25, 20244 min read
Â
Â
Â


GeeksforGeeks - Maximum Sum Subarray of Size K
Given an array of positive numbers and a positive number 'k', find the maximum sum of any contiguous subarray of size 'k'.

Code Recipe
Dec 24, 20243 min read
Â
Â
Â
bottom of page
