ABCDEFGHIJKLMNOPQRSTUVWXYZ
1
Questions by Love Babbar:
2
Youtube Channel: https://www.youtube.com/channel/UCQHLxxBFrbfdrk1jF0moTpw
3
4
Topic:Problem: Done [yes or no]
5
<->
6
ArrayReverse the array<->y
7
ArrayFind the maximum and minimum element in an array<->y
8
ArrayFind the "Kth" max and min element of an array <->
y,error in question
9
ArrayGiven an array which consists of only 0, 1 and 2. Sort the array without using any sorting algo<->y
10
ArrayMove all the negative elements to one side of the array <->y
11
ArrayFind the Union and Intersection of the two sorted arrays.<->y
12
ArrayWrite a program to cyclically rotate an array by one.<->y
13
Arrayfind Largest sum contiguous Subarray [V. IMP]<->y
14
ArrayMinimise the maximum difference between heights [V.IMP]<->
y,wrong by gfg
15
ArrayMinimum no. of Jumps to reach end of an array<->y,see again
16
Arrayfind duplicate in an array of N+1 Integers<->y
17
ArrayMerge 2 sorted arrays without using Extra space.<->y,see again
18
ArrayKadane's Algo [V.V.V.V.V IMP]<->y
19
ArrayMerge Intervals<->
y,vector of vector look
20
ArrayNext Permutation<->y,implement
21
Aarry/merge sortCount Inversion<->y
22
ArrayBest time to buy and Sell stock<->y,see againdp
23
Arrayfind all pairs on integer array whose sum is equal to given number<->y,hash mapsee logic
24
Arrayfind common elements In 3 sorted arrays<->
y,look hash map
25
ArrayRearrange the array in alternating positive and negative items with O(1) extra space<->y,see again
26
ArrayFind if there is any subarray with sum equal to 0<->y
27
ArrayFind factorial of a large number<->p
28
Arrayfind maximum product subarray <->p
29
DPFind longest coinsecutive subsequence<->later dp
30
Array/HashmapGiven an array of size n and a number k, fin all elements that appear more than " n/k " times.<->y,hash map
31
Array/DpMaximum profit by buying and selling a share atmost twice<->y,dp
32
ArrayFind whether an array is a subset of another array<->y see again
33
ArrayFind the triplet that sum to a given value<->y
34
ArrayTrapping Rain water problem<->y
35
ArrayChocolate Distribution problem<->y
36
ArraySmallest Subarray with sum greater than a given value<->y
37
ArrayThree way partitioning of an array around a given value<->y
38
sliding windowMinimum swaps required bring elements less equal K together<->p
39
ArrayMinimum no. of operations required to make an array palindrome<->y
40
ArrayMedian of 2 sorted arrays of equal size<->y
41
ArrayMedian of 2 sorted arrays of different size<->y
42
<->
43
<->
44
MatrixSpiral traversal on a Matrix<->y,see again
45
MatrixSearch an element in a matriix<->y
46
matrix+Binary_searchFind median in a row wise sorted matrix<->later
47
MatrixFind row with maximum no. of 1's<->y
48
min heapPrint elements in sorted order using row-column wise sorted matrix<->
later,min heap
49
martixMaximum size rectangle<->later
50
MatrixFind a specific pair in matrix<->later
51
MatrixRotate matrix by 90 degrees<->y
52
Matrix/min heapKth smallest element in a row-cpumn wise sorted matrix<->
later min heap
53
MatrixCommon elements in all rows of a given matrix<->y,look maps
54
55
56
StringReverse a String<->y
57
StringCheck whether a String is Palindrome or not<->y
58
StringFind Duplicate characters in a string<->y
59
StringWhy strings are immutable in Java?<->y,see again
60
StringWrite a Code to check whether one string is a rotation of another<->y
61
StringWrite a Program to check whether a string is a valid shuffle of two strings or not<->not question
62
StringCount and Say problem<->
y,error coming
63
StringWrite a program to find the longest Palindrome in a string.[ Longest palindromic Substring]<->
64
dpFind Longest Recurring Subsequence in String<->
65
StringPrint all Subsequences of a string.<->y,recursion
66
string/backtrackingPrint all the permutations of the given string<->
y,setup gfg your ide
67
StringSplit the Binary string into two substring with equal 0’s and 1’s<->y
68
dpWord Wrap Problem [VERY IMP].<->later
69
dpEDIT Distance [Very Imp]<->y
70
StringFind next greater number with same set of digits. [Very Very IMP]<->y,repeat
71
stack+stringBalanced Parenthesis problem.[Imp]<->later
72
dpWord break Problem[ Very Imp]<->later
73
StringRabin Karp Algo<->y,see again
74
StringKMP Algo<->
75
StringConvert a Sentence into its equivalent mobile numeric keypad sequence.<->later
76
stack+stringMinimum number of bracket reversals needed to make an expression balanced.<->later
77
StringCount All Palindromic Subsequence in a given String.<->later
78
recusionCount of number of given string in 2D character array<->later
79
string+recursion+Search a Word in a 2D Grid of characters.<->later
80
StringBoyer Moore Algorithm for Pattern Searching.<->later
81
StringConverting Roman Numerals to Decimal<->y,see again
82
StringLongest Common Prefix<->later,re[peat
83
StringNumber of flips to make binary string alternate<->
84
StringFind the first repeated word in string.<->y,see again
85
StringMinimum number of swaps for bracket balancing.<->later
86
StringFind the longest common subsequence between two strings.<->later
87
String+dpProgram to generate all possible valid IP addresses from given string.<->later
88
sliding windowWrite a program tofind the smallest window that contains all characters of string itself.<->later
89
queueRearrange characters in a string such that no two adjacent are same<->later
90
kmp+string+lps arrayMinimum characters to be added at front to make string palindrome<->later
91
string+trieGiven a sequence of words, print all anagrams together<->later\
92
StringFind the smallest window in a string containing all characters of another string<->later
93
recusionRecursively remove all adjacent duplicates<->later
94
dpString matching where one string contains wildcard characters<->later
95
StringFunction to find Number of customers who could not get a computer<->y,see again
96
StringTransform One String to Another using Minimum Number of Given Operation<->y,see again
97
StringCheck 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