top of page


136. Single Number - LeetCode Fastest Solution
Given a non-empty array of unsorted integers nums, every element in nums appears twice except for one. Find that single number.

Code Recipe
Jan 33 min read
90 views
1 comment


1189. Maximum Number of Balloons - LeetCode Fastest Solution
Given a input string text, use the characters of text to form as many instances of the word "balloon" as possible. You are only allowed to

Code Recipe
Jan 24 min read
118 views
1 comment


LeetCode - Find All Numbers Disappeared in an Array Fastest Solution
Given an integer array nums, where nums[i] is in the range nums[1,n], return all the missing numbers in the range [1,n] that do not

Ashwin Shirva
Jan 13 min read
53 views
1 comment


LeetCode - Missing Number Fastest Solution
Given an integer array nums, containing n distinct numbers in the range 0 to n, return the only number in the range that is missing.

Code Recipe
Dec 30, 20244 min read
101 views
1 comment


LeetCode - Contains Duplicate Fastest Solution
Given an array of integers nums, write an algorithm that returns true if any value appears at least twice in the array, and return false if

Code Recipe
Dec 29, 20243 min read
85 views
1 comment


LeetCode - Remove Duplicates from Sorted Array Fastest Solution
Given an integer array nums sorted in ascending order, move all single occurrences of elements in it to the beginning of the nums array

Code Recipe
Dec 28, 20244 min read
48 views
1 comment
bottom of page