top of page


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
410 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
43 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
634 views
1 comment

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
Code Recipe
Mar 5, 20246 min read
231 views
1 comment
bottom of page