top of page
![](https://static.wixstatic.com/media/d6c009_43026980286f4ac8a1e71e9b9524c9be~mv2.jpg/v1/fill/w_250,h_250,fp_0.50_0.50,q_30,blur_30,enc_auto/d6c009_43026980286f4ac8a1e71e9b9524c9be~mv2.webp)
![LeetCode - First Unique Character in a String](https://static.wixstatic.com/media/d6c009_43026980286f4ac8a1e71e9b9524c9be~mv2.jpg/v1/fill/w_454,h_341,fp_0.50_0.50,q_90,enc_auto/d6c009_43026980286f4ac8a1e71e9b9524c9be~mv2.webp)
![Writer's picture: Code Recipe](https://static.wixstatic.com/media/d6c009_ebfffd3f5541444f8ddcefefaad3f86f~mv2.png)
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
![](https://static.wixstatic.com/media/d6c009_43026980286f4ac8a1e71e9b9524c9be~mv2.jpg/v1/fill/w_250,h_250,fp_0.50_0.50,q_30,blur_30,enc_auto/d6c009_43026980286f4ac8a1e71e9b9524c9be~mv2.webp)
![LeetCode - Daily Temperatures Fastest Solution](https://static.wixstatic.com/media/d6c009_43026980286f4ac8a1e71e9b9524c9be~mv2.jpg/v1/fill/w_454,h_341,fp_0.50_0.50,q_90,enc_auto/d6c009_43026980286f4ac8a1e71e9b9524c9be~mv2.webp)
![Writer's picture: Ashwin Shirva](https://static.wixstatic.com/media/d6c009_e4a735900ac8442296c19a6dd94a7f64%7Emv2.jpg/v1/fill/w_32,h_32,al_c,q_80,usm_0.66_1.00_0.01,enc_avif,quality_auto/d6c009_e4a735900ac8442296c19a6dd94a7f64%7Emv2.jpg)
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
217 views1 comment
![LeetCode - Remove All Adjacent Duplicates In String](https://static.wixstatic.com/media/d6c009_28258e0995c949a19acd81f8f16ee23d~mv2.png/v1/fill/w_454,h_341,fp_0.50_0.50,q_95,enc_auto/d6c009_28258e0995c949a19acd81f8f16ee23d~mv2.webp)
![Writer's picture: Ashwin Shirva](https://static.wixstatic.com/media/d6c009_e4a735900ac8442296c19a6dd94a7f64%7Emv2.jpg/v1/fill/w_32,h_32,al_c,q_80,usm_0.66_1.00_0.01,enc_avif,quality_auto/d6c009_e4a735900ac8442296c19a6dd94a7f64%7Emv2.jpg)
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
![Longest Common Prefix - LeetCode Fast & Simple Solution](https://static.wixstatic.com/media/d6c009_1798a3bbf9c04e95965174c4be34e407~mv2.png/v1/fill/w_454,h_341,fp_0.50_0.50,q_95,enc_auto/d6c009_1798a3bbf9c04e95965174c4be34e407~mv2.webp)
![Writer's picture: Code Recipe](https://static.wixstatic.com/media/d6c009_ebfffd3f5541444f8ddcefefaad3f86f~mv2.png)
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
![Integer to Roman - Short & Simple LeetCode Solution](https://static.wixstatic.com/media/d6c009_28258e0995c949a19acd81f8f16ee23d~mv2.png/v1/fill/w_454,h_341,fp_0.50_0.50,q_95,enc_auto/d6c009_28258e0995c949a19acd81f8f16ee23d~mv2.webp)
![Writer's picture: Code Recipe](https://static.wixstatic.com/media/d6c009_ebfffd3f5541444f8ddcefefaad3f86f~mv2.png)
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
![Roman to Integer - Short & Simple LeetCode Solution](https://static.wixstatic.com/media/d6c009_1798a3bbf9c04e95965174c4be34e407~mv2.png/v1/fill/w_454,h_341,fp_0.50_0.50,q_95,enc_auto/d6c009_1798a3bbf9c04e95965174c4be34e407~mv2.webp)
Code Recipe
Feb 26, 20246 min read
Roman to Integer - Short & Simple LeetCode Solution
Convert the given roman numeral into an integer value.
157 views1 comment
bottom of page