top of page

Code Recipe
Jan 24, 20228 min read
3 Sum - Leetcode #15 Short & Simple Solution
Given an array of integers, nums, return all the triplets in the given array nums[i], nums[j], nums[k] such that i != j, i != k, and j != k
82,043 views6 comments

Code Recipe
Dec 30, 20216 min read
Palindrome Number - Leetcode #9 Short & Simple Solution
Given an integer x, return true if x is a palindrome integer.
An integer is a palindrome when it reads the same backward as forward.
68,030 views7 comments

Code Recipe
Dec 22, 20217 min read
3. Longest Substring Without Repeating Characters - LeetCode Fastest Solution
Given a string s, find the length of the longest substring without repeating characters. s consists of English letters, digits, symbols and
71,884 views10 comments

Code Recipe
Dec 17, 20215 min read
Middle Value Overflow In Binary Search Explained
Binary search is one of the popular searching algorithms in computer science. If you have gone through the binary search algorithm, you may
1,779 views0 comments


Code Recipe
Nov 30, 20214 min read
11. Container With Most Water - LeetCode Fastest Solution
Consider you are given n non-negative integers say a1, a2, ..., an, where each element in the array represents a point at coordinate (i, ai)
48,740 views4 comments


Code Recipe
Nov 30, 20214 min read
Two Sum - Leetcode #1 Short & Simple Solution
Consider you given an array of integers and a target sum, return indices of two numbers in the array such that they add up to target.
376,173 views24 comments
bottom of page