top of page


Code Recipe
Dec 24, 20243 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'.
51 views1 comment


Code Recipe
Dec 18, 20244 min read
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.
24 views1 comment


Ashwin Shirva
Dec 17, 20244 min read
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
212 views1 comment

Ashwin Shirva
Dec 13, 20243 min read
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
34 views1 comment

Code Recipe
Mar 11, 20245 min read
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.
548 views1 comment

Code Recipe
Mar 5, 20246 min read
Integer to Roman - Short & Simple LeetCode Solution
Convert the given integer to a roman numeral. As we saw in our previous article, roman numerals are represented using seven different
227 views1 comment
bottom of page