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
Â
Â
Â


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
Â
Â
Â


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
Â
Â
Â


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
Â
Â
Â


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
Â
Â
Â


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