top of page


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

Code Recipe
Jan 24, 20228 min read
82,400 views
6 comments


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.

Code Recipe
Dec 30, 20216 min read
68,401 views
7 comments


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

Code Recipe
Dec 22, 20217 min read
71,961 views
10 comments


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

Code Recipe
Dec 17, 20215 min read
1,796 views
0 comments


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)

Code Recipe
Nov 30, 20214 min read
49,241 views
4 comments


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.

Code Recipe
Nov 30, 20214 min read
378,941 views
25 comments
bottom of page