top of page


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
29 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
535 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
51 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
641 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
235 views
1 comment


Roman to Integer - Short & Simple LeetCode Solution
Convert the given roman numeral into an integer value.

Code Recipe
Feb 26, 20246 min read
173 views
1 comment
bottom of page