top of page
![3 Sum - Leetcode #15 Short & Simple Solution](https://static.wixstatic.com/media/d6c009_28258e0995c949a19acd81f8f16ee23d~mv2.png/v1/fill/w_454,h_341,fp_0.50_0.50,q_95,enc_auto/d6c009_28258e0995c949a19acd81f8f16ee23d~mv2.webp)
![Writer's picture: Code Recipe](https://static.wixstatic.com/media/d6c009_ebfffd3f5541444f8ddcefefaad3f86f~mv2.png)
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
81,967 views6 comments
![Reverse Integer - Leetcode #7 Short & Simple Solution](https://static.wixstatic.com/media/d6c009_28258e0995c949a19acd81f8f16ee23d~mv2.png/v1/fill/w_454,h_341,fp_0.50_0.50,q_95,enc_auto/d6c009_28258e0995c949a19acd81f8f16ee23d~mv2.webp)
![Writer's picture: Code Recipe](https://static.wixstatic.com/media/d6c009_ebfffd3f5541444f8ddcefefaad3f86f~mv2.png)
Code Recipe
Dec 31, 20214 min read
Reverse Integer - Leetcode #7 Short & Simple Solution
Given a 32-bit signed integer x, reverse the digits in x and return the result. If after reversing the result goes outside the signed 32-bit
23,862 views1 comment
![Palindrome Number - Leetcode #9 Short & Simple Solution](https://static.wixstatic.com/media/d6c009_28258e0995c949a19acd81f8f16ee23d~mv2.png/v1/fill/w_454,h_341,fp_0.50_0.50,q_95,enc_auto/d6c009_28258e0995c949a19acd81f8f16ee23d~mv2.webp)
![Writer's picture: Code Recipe](https://static.wixstatic.com/media/d6c009_ebfffd3f5541444f8ddcefefaad3f86f~mv2.png)
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.
67,984 views7 comments
![3. Longest Substring Without Repeating Characters - LeetCode Fastest Solution](https://static.wixstatic.com/media/d6c009_28258e0995c949a19acd81f8f16ee23d~mv2.png/v1/fill/w_454,h_341,fp_0.50_0.50,q_95,enc_auto/d6c009_28258e0995c949a19acd81f8f16ee23d~mv2.webp)
![Writer's picture: Code Recipe](https://static.wixstatic.com/media/d6c009_ebfffd3f5541444f8ddcefefaad3f86f~mv2.png)
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,871 views10 comments
![](https://static.wixstatic.com/media/d6c009_43026980286f4ac8a1e71e9b9524c9be~mv2.jpg/v1/fill/w_250,h_250,fp_0.50_0.50,q_30,blur_30,enc_auto/d6c009_43026980286f4ac8a1e71e9b9524c9be~mv2.webp)
![11. Container With Most Water - LeetCode Fastest Solution](https://static.wixstatic.com/media/d6c009_43026980286f4ac8a1e71e9b9524c9be~mv2.jpg/v1/fill/w_454,h_341,fp_0.50_0.50,q_90,enc_auto/d6c009_43026980286f4ac8a1e71e9b9524c9be~mv2.webp)
![Writer's picture: Code Recipe](https://static.wixstatic.com/media/d6c009_ebfffd3f5541444f8ddcefefaad3f86f~mv2.png)
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,540 views4 comments
![](https://static.wixstatic.com/media/nsplsh_efce2bb16ac6430ab3fe6b6507acf294~mv2.jpg/v1/fill/w_250,h_250,fp_0.50_0.50,q_30,blur_30,enc_auto/nsplsh_efce2bb16ac6430ab3fe6b6507acf294~mv2.webp)
![Two Sum - Leetcode #1 Short & Simple Solution](https://static.wixstatic.com/media/nsplsh_efce2bb16ac6430ab3fe6b6507acf294~mv2.jpg/v1/fill/w_454,h_341,fp_0.50_0.50,q_90,enc_auto/nsplsh_efce2bb16ac6430ab3fe6b6507acf294~mv2.webp)
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.
375,370 views24 comments
bottom of page