top of page


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
38 views
1 comment


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
83 views
1 comment


LeetCode - First Unique Character in a String
Given a string s find the first unique/non-repeating character in it, return its index as result. If it does not exist return -1.
Code Recipe
Dec 18, 20244 min read
26 views
1 comment


LeetCode - Daily Temperatures Fastest Solution
Given an array of integers, temperatures, where each element in the array represents the daily temperature for that day, return an integer
Ashwin Shirva
Dec 17, 20244 min read
402 views
1 comment

LeetCode - Remove All Adjacent Duplicates In String
We are given a string s consisting of lower case English letters. Write an algorithm that removes two same/equal adjacent letters from this
Ashwin Shirva
Dec 13, 20243 min read
42 views
1 comment

Longest Common Prefix - LeetCode Fast & Simple Solution
Find the longest common prefix from the given array of strings. Return an empty string "", if no common prefix is found.
Code Recipe
Mar 11, 20245 min read
629 views
1 comment
bottom of page