top of page
Ashwin Shirva
12 hours ago4 min read
LeetCode - Number of Islands Fastest Solution
Given a 2D m x n array grid containing only 1s (land) and 0s (water), count the number of islands in it. An island is surrounded by
8 views1 comment
Code Recipe
1 day ago4 min read
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
8 views1 comment
Code Recipe
Dec 184 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.
20 views1 comment
bottom of page