| 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 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | Questions by Love Babbar: | |||||||||||||||||||||||||
2 | Youtube Channel: https://www.youtube.com/channel/UCQHLxxBFrbfdrk1jF0moTpw | |||||||||||||||||||||||||
3 | ||||||||||||||||||||||||||
4 | Topic: | Problem: | Done [yes or no] | |||||||||||||||||||||||
5 | <-> | |||||||||||||||||||||||||
6 | Array | Reverse the array | <-> | y | ||||||||||||||||||||||
7 | Array | Find the maximum and minimum element in an array | <-> | y | ||||||||||||||||||||||
8 | Array | Find the "Kth" max and min element of an array | <-> | y,error in question | ||||||||||||||||||||||
9 | Array | Given an array which consists of only 0, 1 and 2. Sort the array without using any sorting algo | <-> | y | ||||||||||||||||||||||
10 | Array | Move all the negative elements to one side of the array | <-> | y | ||||||||||||||||||||||
11 | Array | Find the Union and Intersection of the two sorted arrays. | <-> | y | ||||||||||||||||||||||
12 | Array | Write a program to cyclically rotate an array by one. | <-> | y | ||||||||||||||||||||||
13 | Array | find Largest sum contiguous Subarray [V. IMP] | <-> | y | ||||||||||||||||||||||
14 | Array | Minimise the maximum difference between heights [V.IMP] | <-> | y,wrong by gfg | ||||||||||||||||||||||
15 | Array | Minimum no. of Jumps to reach end of an array | <-> | y,see again | ||||||||||||||||||||||
16 | Array | find duplicate in an array of N+1 Integers | <-> | y | ||||||||||||||||||||||
17 | Array | Merge 2 sorted arrays without using Extra space. | <-> | y,see again | ||||||||||||||||||||||
18 | Array | Kadane's Algo [V.V.V.V.V IMP] | <-> | y | ||||||||||||||||||||||
19 | Array | Merge Intervals | <-> | y,vector of vector look | ||||||||||||||||||||||
20 | Array | Next Permutation | <-> | y,implement | ||||||||||||||||||||||
21 | Aarry/merge sort | Count Inversion | <-> | y | ||||||||||||||||||||||
22 | Array | Best time to buy and Sell stock | <-> | y,see again | dp | |||||||||||||||||||||
23 | Array | find all pairs on integer array whose sum is equal to given number | <-> | y,hash map | see logic | |||||||||||||||||||||
24 | Array | find common elements In 3 sorted arrays | <-> | y,look hash map | ||||||||||||||||||||||
25 | Array | Rearrange the array in alternating positive and negative items with O(1) extra space | <-> | y,see again | ||||||||||||||||||||||
26 | Array | Find if there is any subarray with sum equal to 0 | <-> | y | ||||||||||||||||||||||
27 | Array | Find factorial of a large number | <-> | p | ||||||||||||||||||||||
28 | Array | find maximum product subarray | <-> | p | ||||||||||||||||||||||
29 | DP | Find longest coinsecutive subsequence | <-> | later dp | ||||||||||||||||||||||
30 | Array/Hashmap | Given an array of size n and a number k, fin all elements that appear more than " n/k " times. | <-> | y,hash map | ||||||||||||||||||||||
31 | Array/Dp | Maximum profit by buying and selling a share atmost twice | <-> | y,dp | ||||||||||||||||||||||
32 | Array | Find whether an array is a subset of another array | <-> | y see again | ||||||||||||||||||||||
33 | Array | Find the triplet that sum to a given value | <-> | y | ||||||||||||||||||||||
34 | Array | Trapping Rain water problem | <-> | y | ||||||||||||||||||||||
35 | Array | Chocolate Distribution problem | <-> | y | ||||||||||||||||||||||
36 | Array | Smallest Subarray with sum greater than a given value | <-> | y | ||||||||||||||||||||||
37 | Array | Three way partitioning of an array around a given value | <-> | y | ||||||||||||||||||||||
38 | sliding window | Minimum swaps required bring elements less equal K together | <-> | p | ||||||||||||||||||||||
39 | Array | Minimum no. of operations required to make an array palindrome | <-> | y | ||||||||||||||||||||||
40 | Array | Median of 2 sorted arrays of equal size | <-> | y | ||||||||||||||||||||||
41 | Array | Median of 2 sorted arrays of different size | <-> | y | ||||||||||||||||||||||
42 | <-> | |||||||||||||||||||||||||
43 | <-> | |||||||||||||||||||||||||
44 | Matrix | Spiral traversal on a Matrix | <-> | y,see again | ||||||||||||||||||||||
45 | Matrix | Search an element in a matriix | <-> | y | ||||||||||||||||||||||
46 | matrix+Binary_search | Find median in a row wise sorted matrix | <-> | later | ||||||||||||||||||||||
47 | Matrix | Find row with maximum no. of 1's | <-> | y | ||||||||||||||||||||||
48 | min heap | Print elements in sorted order using row-column wise sorted matrix | <-> | later,min heap | ||||||||||||||||||||||
49 | martix | Maximum size rectangle | <-> | later | ||||||||||||||||||||||
50 | Matrix | Find a specific pair in matrix | <-> | later | ||||||||||||||||||||||
51 | Matrix | Rotate matrix by 90 degrees | <-> | y | ||||||||||||||||||||||
52 | Matrix/min heap | Kth smallest element in a row-cpumn wise sorted matrix | <-> | later min heap | ||||||||||||||||||||||
53 | Matrix | Common elements in all rows of a given matrix | <-> | y,look maps | ||||||||||||||||||||||
54 | ||||||||||||||||||||||||||
55 | ||||||||||||||||||||||||||
56 | String | Reverse a String | <-> | y | ||||||||||||||||||||||
57 | String | Check whether a String is Palindrome or not | <-> | y | ||||||||||||||||||||||
58 | String | Find Duplicate characters in a string | <-> | y | ||||||||||||||||||||||
59 | String | Why strings are immutable in Java? | <-> | y,see again | ||||||||||||||||||||||
60 | String | Write a Code to check whether one string is a rotation of another | <-> | y | ||||||||||||||||||||||
61 | String | Write a Program to check whether a string is a valid shuffle of two strings or not | <-> | not question | ||||||||||||||||||||||
62 | String | Count and Say problem | <-> | y,error coming | ||||||||||||||||||||||
63 | String | Write a program to find the longest Palindrome in a string.[ Longest palindromic Substring] | <-> | |||||||||||||||||||||||
64 | dp | Find Longest Recurring Subsequence in String | <-> | |||||||||||||||||||||||
65 | String | Print all Subsequences of a string. | <-> | y,recursion | ||||||||||||||||||||||
66 | string/backtracking | Print all the permutations of the given string | <-> | y,setup gfg your ide | ||||||||||||||||||||||
67 | String | Split the Binary string into two substring with equal 0’s and 1’s | <-> | y | ||||||||||||||||||||||
68 | dp | Word Wrap Problem [VERY IMP]. | <-> | later | ||||||||||||||||||||||
69 | dp | EDIT Distance [Very Imp] | <-> | y | ||||||||||||||||||||||
70 | String | Find next greater number with same set of digits. [Very Very IMP] | <-> | y,repeat | ||||||||||||||||||||||
71 | stack+string | Balanced Parenthesis problem.[Imp] | <-> | later | ||||||||||||||||||||||
72 | dp | Word break Problem[ Very Imp] | <-> | later | ||||||||||||||||||||||
73 | String | Rabin Karp Algo | <-> | y,see again | ||||||||||||||||||||||
74 | String | KMP Algo | <-> | |||||||||||||||||||||||
75 | String | Convert a Sentence into its equivalent mobile numeric keypad sequence. | <-> | later | ||||||||||||||||||||||
76 | stack+string | Minimum number of bracket reversals needed to make an expression balanced. | <-> | later | ||||||||||||||||||||||
77 | String | Count All Palindromic Subsequence in a given String. | <-> | later | ||||||||||||||||||||||
78 | recusion | Count of number of given string in 2D character array | <-> | later | ||||||||||||||||||||||
79 | string+recursion+ | Search a Word in a 2D Grid of characters. | <-> | later | ||||||||||||||||||||||
80 | String | Boyer Moore Algorithm for Pattern Searching. | <-> | later | ||||||||||||||||||||||
81 | String | Converting Roman Numerals to Decimal | <-> | y,see again | ||||||||||||||||||||||
82 | String | Longest Common Prefix | <-> | later,re[peat | ||||||||||||||||||||||
83 | String | Number of flips to make binary string alternate | <-> | |||||||||||||||||||||||
84 | String | Find the first repeated word in string. | <-> | y,see again | ||||||||||||||||||||||
85 | String | Minimum number of swaps for bracket balancing. | <-> | later | ||||||||||||||||||||||
86 | String | Find the longest common subsequence between two strings. | <-> | later | ||||||||||||||||||||||
87 | String+dp | Program to generate all possible valid IP addresses from given string. | <-> | later | ||||||||||||||||||||||
88 | sliding window | Write a program tofind the smallest window that contains all characters of string itself. | <-> | later | ||||||||||||||||||||||
89 | queue | Rearrange characters in a string such that no two adjacent are same | <-> | later | ||||||||||||||||||||||
90 | kmp+string+lps array | Minimum characters to be added at front to make string palindrome | <-> | later | ||||||||||||||||||||||
91 | string+trie | Given a sequence of words, print all anagrams together | <-> | later\ | ||||||||||||||||||||||
92 | String | Find the smallest window in a string containing all characters of another string | <-> | later | ||||||||||||||||||||||
93 | recusion | Recursively remove all adjacent duplicates | <-> | later | ||||||||||||||||||||||
94 | dp | String matching where one string contains wildcard characters | <-> | later | ||||||||||||||||||||||
95 | String | Function to find Number of customers who could not get a computer | <-> | y,see again | ||||||||||||||||||||||
96 | String | Transform One String to Another using Minimum Number of Given Operation | <-> | y,see again | ||||||||||||||||||||||
97 | String | Check if two given strings are isomorphic to each other | <-> | y | ||||||||||||||||||||||
98 | string+recursion+ | Recursively print all sentences that can be formed from list of word lists | <-> | y,see again | ||||||||||||||||||||||
99 | ||||||||||||||||||||||||||
100 |