Skip to main content

GFG medium problems 0001-0100

Start Practicing: https://www.geeksforgeeks.org/

Problem NameDifficultySolution Link
Find Indexes of a subarray with given sumMediumView Solutions
Kadane's AlgorithmMediumView Solutions
Minimum number of jumpsMediumView Solutions
Sort an array of 0s, 1s and 2sMediumView Solutions
Majority ElementMediumView Solutions
Kth smallest elementMediumView Solutions
Minimize the Heights IIMediumView Solutions
Count InversionsMediumView Solutions
Remove loop in Linked ListMediumView Solutions
Detect Loop in linked listMediumView Solutions
Minimum PlatformsMediumView Solutions
Trapping Rain WaterMediumView Solutions
Find Missing And RepeatingMediumView Solutions
0 - 1 Knapsack ProblemMediumView Solutions
Detect cycle in an undirected graphMediumView Solutions
Next Greater ElementMediumView Solutions
Detect cycle in a directed graphMediumView Solutions
Maximum Product SubarrayMediumView Solutions
Boundary Traversal of binary treeMediumView Solutions
Smallest Positive missing numberMediumView Solutions
Find triplets with zero sumMediumView Solutions
Check if Linked List is PalindromeMediumView Solutions
Maximum of all subarrays of size kMediumView Solutions
nCrMediumView Solutions
Longest Palindrome in a StringMediumView Solutions
Longest consecutive subsequenceMediumView Solutions
Power Of NumbersMediumView Solutions
Top View of Binary TreeMediumView Solutions
Longest Increasing SubsequenceMediumView Solutions
Largest subarray with 0 sumMediumView Solutions
Triplet Sum in ArrayMediumView Solutions
Diameter of a Binary TreeMediumView Solutions
Longest Common SubsequenceMediumView Solutions
Perfect Sum ProblemMediumView Solutions
Add two numbers represented by linked listsMediumView Solutions
Stock buy and sellMediumView Solutions
Intersection Point in Y Shaped Linked ListsMediumView Solutions
Subarray with 0 sumMediumView Solutions
Permutations of a given stringMediumView Solutions
Longest Sub-Array with Sum KMediumView Solutions
First and last occurrences of xMediumView Solutions
Coin ChangeMediumView Solutions
Row with max 1sMediumView Solutions
Spirally traversing a matrixMediumView Solutions
Rat in a Maze Problem - IMediumView Solutions
Get minimum element from stackMediumView Solutions
Fractional KnapsackMediumView Solutions
Maximum IndexMediumView Solutions
Rearrange Array AlternatelyMediumView Solutions
The Celebrity ProblemMediumView Solutions
Partition Equal Subset SumMediumView Solutions
Validate an IP AddressMediumView Solutions
Sum TreeMediumView Solutions
Union of Two Sorted ArraysMediumView Solutions
Bottom View of Binary TreeMediumView Solutions
Stickler ThiefMediumView Solutions
Rotate a Linked ListMediumView Solutions
K-th element of two ArraysMediumView Solutions
Implement AtoiMediumView Solutions
Pythagorean TripletMediumView Solutions
Maximum IndexMediumView Solutions
Multiply two stringsMediumView Solutions
Topological sortMediumView Solutions
Maximize The Cut SegmentsMediumView Solutions
Subset Sum ProblemMediumView Solutions
Job Sequencing ProblemMediumView Solutions
First non-repeating character in a streamMediumView Solutions
Longest Common SubstringMediumView Solutions
Search in a Rotated ArrayMediumView Solutions
Quick SortMediumView Solutions
Add 1 to a number represented as linked listMediumView Solutions
Find All Four Sum NumbersMediumView Solutions
Count ways to reach the n'th stairMediumView Solutions
Number of occurrenceMediumView Solutions
Allocate minimum number of pagesMediumView Solutions
Maximum sum increasing subsequenceMediumView Solutions
Find the number of islandsMediumView Solutions
Vertical Traversal of Binary TreeMediumView Solutions
Stock span problemMediumView Solutions
Lowest Common Ancestor in a Binary TreeMediumView Solutions
Recursively remove all adjacent duplicatesMediumView Solutions
Number of CoinsMediumView Solutions
Circular tourMediumView Solutions
Bipartite GraphMediumView Solutions
Construct Tree from Inorder & PreorderMediumView Solutions
ZigZag Tree TraversalMediumView Solutions
Merge SortMediumView Solutions
Minimum Swaps to SortMediumView Solutions
Largest Number formed from an ArrayMediumView Solutions
k largest elementsMediumView Solutions
Count total set bitsMediumView Solutions
Implementing Dijkstra AlgorithmMediumView Solutions
Merge two sorted linked listsMediumView Solutions
First negative integer in every window of size kMediumView Solutions
Non Repeating NumbersMediumView Solutions
Longest K unique characters substringMediumView Solutions
Flattening a Linked ListMediumView Solutions
Factorials of large numbersMediumView Solutions
Tower Of HanoiMediumView Solutions
Rotten OrangesMediumView Solutions

Now, you can see the list of problems in a table format. You can click on the problem link to view the problem on the GFG website. You can also click on the solution link to view the solution of the problem.