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<->
7
ArrayFind the maximum and minimum element in an array<->
8
ArrayFind the "Kth" max and min element of an array <->
9
ArrayGiven an array which consists of only 0, 1 and 2. Sort the array without using any sorting algo<->
10
ArrayMove all the negative elements to one side of the array <->
11
ArrayFind the Union and Intersection of the two sorted arrays.<->
12
ArrayWrite a program to cyclically rotate an array by one.<->
13
Arrayfind Largest sum contiguous Subarray [V. IMP]<->
14
ArrayMinimise the maximum difference between heights [V.IMP]<->
15
ArrayMinimum no. of Jumps to reach end of an array<->
16
Arrayfind duplicate in an array of N+1 Integers<->
17
ArrayMerge 2 sorted arrays without using Extra space.<->
18
ArrayKadane's Algo [V.V.V.V.V IMP]<->
19
ArrayMerge Intervals<->
20
ArrayNext Permutation<->
21
ArrayCount Inversion<->
22
ArrayBest time to buy and Sell stock<->
23
Arrayfind all pairs on integer array whose sum is equal to given number<->
24
Arrayfind common elements In 3 sorted arrays<->
25
ArrayRearrange the array in alternating positive and negative items with O(1) extra space<->
26
ArrayFind if there is any subarray with sum equal to 0<->
27
ArrayFind factorial of a large number<->
28
Arrayfind maximum product subarray <->
29
ArrayFind longest coinsecutive subsequence<->
30
ArrayGiven an array of size n and a number k, fin all elements that appear more than " n/k " times.<->
31
ArrayMaximum profit by buying and selling a share atmost twice<->
32
ArrayFind whether an array is a subset of another array<->
33
ArrayFind the triplet that sum to a given value<->
34
ArrayTrapping Rain water problem<->
35
ArrayChocolate Distribution problem<->
36
ArraySmallest Subarray with sum greater than a given value<->
37
ArrayThree way partitioning of an array around a given value<->
38
ArrayMinimum swaps required bring elements less equal K together<->
39
ArrayMinimum no. of operations required to make an array palindrome<->
40
ArrayMedian of 2 sorted arrays of equal size<->
41
ArrayMedian of 2 sorted arrays of different size<->
42
<->
43
<->
44
MatrixSpiral traversal on a Matrix<->
45
MatrixSearch an element in a matriix<->
46
MatrixFind median in a row wise sorted matrix<->
47
MatrixFind row with maximum no. of 1's<->
48
MatrixPrint elements in sorted order using row-column wise sorted matrix<->
49
MatrixMaximum size rectangle<->
50
MatrixFind a specific pair in matrix<->
51
MatrixRotate matrix by 90 degrees<->
52
MatrixKth smallest element in a row-cpumn wise sorted matrix<->
53
MatrixCommon elements in all rows of a given matrix<->
54
55
56
StringReverse a String<->
57
StringCheck whether a String is Palindrome or not<->
58
StringFind Duplicate characters in a string<->
59
StringWhy strings are immutable in Java?<->
60
StringWrite a Code to check whether one string is a rotation of another<->
61
StringWrite a Program to check whether a string is a valid shuffle of two strings or not<->
62
StringCount and Say problem<->
63
StringWrite a program to find the longest Palindrome in a string.[ Longest palindromic Substring]<->
64
StringFind Longest Recurring Subsequence in String<->
65
StringPrint all Subsequences of a string.<->
66
StringPrint all the permutations of the given string<->
67
StringSplit the Binary string into two substring with equal 0’s and 1’s<->
68
StringWord Wrap Problem [VERY IMP].<->
69
StringEDIT Distance [Very Imp]<->
70
StringFind next greater number with same set of digits. [Very Very IMP]<->
71
StringBalanced Parenthesis problem.[Imp]<->
72
StringWord break Problem[ Very Imp]<->
73
StringRabin Karp Algo<->
74
StringKMP Algo<->
75
StringConvert a Sentence into its equivalent mobile numeric keypad sequence.<->
76
StringMinimum number of bracket reversals needed to make an expression balanced.<->
77
StringCount All Palindromic Subsequence in a given String.<->
78
StringCount of number of given string in 2D character array<->
79
StringSearch a Word in a 2D Grid of characters.<->
80
StringBoyer Moore Algorithm for Pattern Searching.<->
81
StringConverting Roman Numerals to Decimal<->
82
StringLongest Common Prefix<->
83
StringNumber of flips to make binary string alternate<->
84
StringFind the first repeated word in string.<->
85
StringMinimum number of swaps for bracket balancing.<->
86
StringFind the longest common subsequence between two strings.<->
87
StringProgram to generate all possible valid IP addresses from given string.<->
88
StringWrite a program tofind the smallest window that contains all characters of string itself.<->
89
StringRearrange characters in a string such that no two adjacent are same<->
90
StringMinimum characters to be added at front to make string palindrome<->
91
StringGiven a sequence of words, print all anagrams together<->
92
StringFind the smallest window in a string containing all characters of another string<->
93
StringRecursively remove all adjacent duplicates<->
94
StringString matching where one string contains wildcard characters<->
95
StringFunction to find Number of customers who could not get a computer<->
96
StringTransform One String to Another using Minimum Number of Given Operation<->
97
StringCheck if two given strings are isomorphic to each other<->
98
StringRecursively print all sentences that can be formed from list of word lists<->
99
100