0- Introduction
Introduction
1- Find pair that sums up to k
Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code
2- First repeating character
Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code
3- Remove duplicates
Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code
4- Find the duplicate
Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code
5- Tree depth first search
Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code
6- Maximum subarray
Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code
7- Reverse binary tree
Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code
8- Longest substring without repeating characters
Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code
9- Reverse linked list
Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code
10- Peak finding
Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code
11- Palindrome linked list
Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code
12- Longest possible palindrome
Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code
13- Get substring index
Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code
14- Tree breadth first search
Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code
15- Sort linked list
Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code
16- Valid binary search tree
Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code
17- Minimum cost path in matrix
Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code
18- Balanced binary tree
Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code
19- Paths in matrix
Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code
20- Tree breadth first search II
Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code
21- Product of array except self
Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code
22- Jump to last index
Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code
23- Graph depth first search
Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code
24- Graph breadth first search
Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code
25- String subsequences
Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code
26- Valid brackets
Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code
27- Flatten binary tree
Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code
28- Lowest common ancestor
Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code
29- Minimum in rotated sorted array
Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code
30- Add two linked lists
Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code
31- Ways to climb stairs
Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code
32- Subsets that sum up to k
Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code
33- Ways to decode
Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code
34- Remove node from binary search tree
Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code
35- Array permutations
Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code
36- Longest common subsequence
Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code
37- Longest consecutive sequence
Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code
38- Edit distance
Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code
39- Longest common substring
Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code
40- Smallest number after removing k digits
Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code
41- Insert interval
Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code
42- Merge intervals
Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code
43- Maximum path sum
Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code
44- 0-1 Knapsack
Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code
45- Shortest palindrome
Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code
46- Coin change
Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code
47- Word search
Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code
48- N-queens
Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code
49- Word ladder
Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code
50- Longest increasing subsequence
Solve the problem [Python]
Solve the problem [Java]
Solve the problem [C++]
Solve the problem [JavaScript]
Solution + code