| A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | AA | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | Nishant Bhaiya's 151 | ||||||||||||||||||||||||||
2 | |||||||||||||||||||||||||||
3 | |||||||||||||||||||||||||||
4 | 🟩How to make most of this sheet?: https://bit.ly/WhatsAlgoPrep151 | ||||||||||||||||||||||||||
5 | |||||||||||||||||||||||||||
6 | |||||||||||||||||||||||||||
7 | |||||||||||||||||||||||||||
8 | |||||||||||||||||||||||||||
9 | |||||||||||||||||||||||||||
10 | Serial | Problem Name | Done? | Comments / Hints for the Problem | |||||||||||||||||||||||
11 | |||||||||||||||||||||||||||
12 | Arrays | ||||||||||||||||||||||||||
13 | 1 | Rotate Array | | ||||||||||||||||||||||||
14 | 2 | Squares of a sorted array | | ||||||||||||||||||||||||
15 | 3 | Kadane's Algo | | ||||||||||||||||||||||||
16 | 4 | maximum product subarray | | ||||||||||||||||||||||||
17 | 5 | majority element | | ||||||||||||||||||||||||
18 | 6 | majority element 2 | | ||||||||||||||||||||||||
19 | 7 | Next Greater Element III | | ||||||||||||||||||||||||
20 | 8 | Max chunks to make sorted | | ||||||||||||||||||||||||
21 | 9 | Max Chunks To Make Sorted II | | ||||||||||||||||||||||||
22 | 10 | number of subarrays with bounded maximum | | ||||||||||||||||||||||||
23 | 11 | First missing positive | | ||||||||||||||||||||||||
24 | 12 | Range Addition | | ||||||||||||||||||||||||
25 | 13 | Min No. of Platform | | ||||||||||||||||||||||||
26 | 14 | Trapping rain water | | ||||||||||||||||||||||||
27 | |||||||||||||||||||||||||||
28 | Two Pointers | ||||||||||||||||||||||||||
29 | 15 | Container With Most Water | | ||||||||||||||||||||||||
30 | 16 | Two Sum | | ||||||||||||||||||||||||
31 | 17 | Two Difference | | ||||||||||||||||||||||||
32 | |||||||||||||||||||||||||||
33 | Recursion and BackTracking | ||||||||||||||||||||||||||
34 | 18 | Permutations | | ||||||||||||||||||||||||
35 | 19 | Permutation Sequence | | ||||||||||||||||||||||||
36 | 20 | Combination Sum | | ||||||||||||||||||||||||
37 | 21 | Cmbination Sum 2 | | ||||||||||||||||||||||||
38 | 22 | Letter combination of Phone number | | ||||||||||||||||||||||||
39 | 23 | N Queens | | ||||||||||||||||||||||||
40 | 24 | Rat in a Maze Path | | ||||||||||||||||||||||||
41 | |||||||||||||||||||||||||||
42 | Bit Manipulation | ||||||||||||||||||||||||||
43 | 25 | Single Element | | ||||||||||||||||||||||||
44 | 26 | Single Element 2 | | ||||||||||||||||||||||||
45 | 27 | Single Number 3 | | ||||||||||||||||||||||||
46 | 28 | Divide 2 Integers | | ||||||||||||||||||||||||
47 | 29 | Max AND Pair. | | ||||||||||||||||||||||||
48 | |||||||||||||||||||||||||||
49 | HashMap | ||||||||||||||||||||||||||
50 | 30 | Check AP sequence | | ||||||||||||||||||||||||
51 | 31 | Grid illumination | | ||||||||||||||||||||||||
52 | 32 | Brick wall | | ||||||||||||||||||||||||
53 | 33 | Count of subarray with sum = k | | ||||||||||||||||||||||||
54 | 34 | Subarray sum divisible by K | | ||||||||||||||||||||||||
55 | 35 | Insert Delete GetRandom O(1) | | ||||||||||||||||||||||||
56 | 36 | Insert delete get random duplicates allowed | | ||||||||||||||||||||||||
57 | 37 | Longest consecutive sequence | | ||||||||||||||||||||||||
58 | 38 | Find all anagrams in a string | | ||||||||||||||||||||||||
59 | 39 | Find smallest size of string containing all char of other | | ||||||||||||||||||||||||
60 | 40 | Write hashmap | | ||||||||||||||||||||||||
61 | 41 | subarray with equal number of 0 and 1 | | ||||||||||||||||||||||||
62 | 42 | Substring with equal 0 1 and 2 | | ||||||||||||||||||||||||
63 | |||||||||||||||||||||||||||
64 | Heap | ||||||||||||||||||||||||||
65 | 43 | Kth Largest Element | | ||||||||||||||||||||||||
66 | 44 | Minimum number of refueling spots | | ||||||||||||||||||||||||
67 | 45 | minimum cost to connect sticks | | ||||||||||||||||||||||||
68 | 46 | Employee Free time | | ||||||||||||||||||||||||
69 | 47 | Find Median from Data Stream | | ||||||||||||||||||||||||
70 | |||||||||||||||||||||||||||
71 | Binary Search | ||||||||||||||||||||||||||
72 | 48 | capacity to ship within D days | | ||||||||||||||||||||||||
73 | 49 | Painter's partition problem | | ||||||||||||||||||||||||
74 | 50 | search in rotated sorted array | | ||||||||||||||||||||||||
75 | 51 | Search in rotated sorted array 2 | | ||||||||||||||||||||||||
76 | 52 | Allocate books | | ||||||||||||||||||||||||
77 | 53 | median of two sorted array | | ||||||||||||||||||||||||
78 | |||||||||||||||||||||||||||
79 | LinkedList | ||||||||||||||||||||||||||
80 | 54 | reverse LinkedList | | ||||||||||||||||||||||||
81 | 55 | Find the middle element | | ||||||||||||||||||||||||
82 | 56 | Floyd cycle | | ||||||||||||||||||||||||
83 | 57 | Clone a linkedlist | | ||||||||||||||||||||||||
84 | 58 | Intersection point of 2 linked list | | ||||||||||||||||||||||||
85 | 59 | LRU Cache | | ||||||||||||||||||||||||
86 | |||||||||||||||||||||||||||
87 | Stacks and Queues | ||||||||||||||||||||||||||
88 | 60 | Next Greater Element | | ||||||||||||||||||||||||
89 | 61 | Largest Rectangular Area Histogram | | ||||||||||||||||||||||||
90 | 62 | maximu size binary matrix containing 1 | | ||||||||||||||||||||||||
91 | 63 | Valid Parentheses | | ||||||||||||||||||||||||
92 | 64 | Min Stack | | ||||||||||||||||||||||||
93 | 65 | K stacks in a single array | | ||||||||||||||||||||||||
94 | 66 | Infix evaluation | | ||||||||||||||||||||||||
95 | 67 | K reverse in a queue | | ||||||||||||||||||||||||
96 | 68 | K queue | | ||||||||||||||||||||||||
97 | |||||||||||||||||||||||||||
98 | |||||||||||||||||||||||||||
99 | TREES | ||||||||||||||||||||||||||
100 | 69 | Preorder Traversal | | ||||||||||||||||||||||||