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 3, 20253 min read


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 2, 20254 min read


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 1, 20253 min read


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


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


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
bottom of page
