Skip to main content

GFG medium problems 0201-0300

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

Problem NameDifficultySolution Link
Check whether BST contains Dead EndMediumView Solutions
Construct Binary Tree from Inorder and PostorderMediumView Solutions
Infix to PostfixMediumView Solutions
Sum of two elements with sum nearest to zeroMediumView Solutions
Choose and SwapMediumView Solutions
Counting elements in two arraysMediumView Solutions
Longest subsequence-1MediumView Solutions
Count Occurences of AnagramsMediumView Solutions
Reverse a StackMediumView Solutions
Number Of EnclavesMediumView Solutions
LCS of three stringsMediumView Solutions
Minimize the Heights IMediumView Solutions
Minimum cost to fill given weight in a bagMediumView Solutions
Max sum in the configurationMediumView Solutions
Merge Sort for Linked ListMediumView Solutions
Remove K DigitsMediumView Solutions
K closest elementsMediumView Solutions
Number of Distinct IslandsMediumView Solutions
Ceil in BSTMediumView Solutions
Arranging the arrayMediumView Solutions
Maximum path sum from any nodeMediumView Solutions
Count the nodes at distance K from leafMediumView Solutions
Course ScheduleMediumView Solutions
Jump GameMediumView Solutions
Maximum difference between node and its ancestorMediumView Solutions
Prerequisite TasksMediumView Solutions
Unit Area of largest region of 1'sMediumView Solutions
Find the N-th characterMediumView Solutions
Search Pattern (Rabin-Karp Algorithm)MediumView Solutions
Find Common Nodes in two BSTsMediumView Solutions
Count the ReversalsMediumView Solutions
Print Anagrams TogetherMediumView Solutions
Negative weight cycleMediumView Solutions
IPL 2021 - Match Day 2MediumView Solutions
Maximum sum of Non-adjacent nodesMediumView Solutions
Longest Bitonic subsequenceMediumView Solutions
Sum of Middle Elements of two sorted arraysMediumView Solutions
Maximum Meetings in One RoomMediumView Solutions
Maximum Sum CombinationMediumView Solutions
Insert and Search in a TrieMediumView Solutions
Jumping NumbersMediumView Solutions
Overlapping IntervalsMediumView Solutions
Floor in BSTMediumView Solutions
Bleak NumbersMediumView Solutions
Search Pattern (KMP-Algorithm)MediumView Solutions
Flip BitsMediumView Solutions
Possible Words From Phone DigitsMediumView Solutions
Modular Exponentiation for large numbersMediumView Solutions
Merge 2 sorted linked list in reverse orderMediumView Solutions
Count possible ways to construct buildingsMediumView Solutions
Array to BSTMediumView Solutions
Union of Two Linked ListsMediumView Solutions
Preorder to BSTMediumView Solutions
Shortest path in Undirected GraphMediumView Solutions
Shortest Distance in a Binary MazeMediumView Solutions
Game with StringMediumView Solutions
Largest Sum Subarray of Size at least KMediumView Solutions
Eventual Safe StatesMediumView Solutions
Maximize dot productMediumView Solutions
Linked List that is Sorted AlternatinglyMediumView Solutions
Smallest number on leftMediumView Solutions
Case-specific Sorting of StringsMediumView Solutions
Leftmost and rightmost nodes of binary treeMediumView Solutions
Minimum DeletionsMediumView Solutions
Kth element in MatrixMediumView Solutions
Find a pair with given target in BSTMediumView Solutions
Number of paths in a matrix with k coinsMediumView Solutions
Maximum occured integerMediumView Solutions
Paths to reach originMediumView Solutions
Detect Cycle using DSUMediumView Solutions
Swap Kth nodes from endsMediumView Solutions
Sum of all substrings of a numberMediumView Solutions
Shuffle integersMediumView Solutions
Number of Ways to Arrive at DestinationMediumView Solutions
Level of NodesMediumView Solutions
Number following a patternMediumView Solutions
Reverse alternate nodes in Link ListMediumView Solutions
Normal BST to Balanced BSTMediumView Solutions
Nuts and Bolts ProblemMediumView Solutions
Number of pairsMediumView Solutions
Buy and Sell a Share at most twiceMediumView Solutions
Excel Sheet | Part - 1MediumView Solutions
Sum of bit differencesMediumView Solutions
Binary Tree to CDLLMediumView Solutions
Vertical sumMediumView Solutions
Maximum Tip CalculatorMediumView Solutions
Make Matrix BeautifulMediumView Solutions
Snake and Ladder ProblemMediumView Solutions
City With the Smallest Number of Neighbors at a Threshold DistanceMediumView Solutions
Most frequent word in an array of stringsMediumView Solutions
Subarrays with equal 1s and 0sMediumView Solutions
Number of Unique PathsMediumView Solutions
Maximum DifferenceMediumView Solutions
Sum of XOR of all pairsMediumView Solutions
Find kth element of spiral matrixMediumView Solutions
Transitive closure of a GraphMediumView Solutions
Sorted subsequence of size 3MediumView Solutions
Gray to Binary equivalentMediumView Solutions
Sorting Elements of an Array by FrequencyMediumView Solutions
Add Binary StringsMediumView 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.