Skip to main content

GFG medium problems 0301-0400

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

Problem NameDifficultySolution Link
Grinding GeekMediumView Solutions
Find element occuring once when all other are present thriceMediumView Solutions
Word SearchMediumView Solutions
Maximum AND ValueMediumView Solutions
Max sum path in two arraysMediumView Solutions
Find Prime numbers in a rangeMediumView Solutions
Diagonal sum in binary treeMediumView Solutions
Special KeyboardMediumView Solutions
Bridge edge in a graphMediumView Solutions
Transform to primeMediumView Solutions
Maximize Number of 1'sMediumView Solutions
A Simple FractionMediumView Solutions
Top k numbers in a streamMediumView Solutions
Container With Most WaterMediumView Solutions
Reverse each word in a given stringMediumView Solutions
Minimum number of deletions and insertions.MediumView Solutions
Count ways to N'th Stair(Order does not matter)MediumView Solutions
Find the Safe PositionMediumView Solutions
Number of Good ComponentsMediumView Solutions
Rearrange a linked listMediumView Solutions
Path With Minimum EffortMediumView Solutions
Knight WalkMediumView Solutions
Buy Maximum Stocks if i stocks can be bought on i-th dayMediumView Solutions
Print N-bit binary numbers having more 1s than 0sMediumView Solutions
Find Maximum Equal sum of Three StacksMediumView Solutions
Three Sum ClosestMediumView Solutions
Fraction pairs with sum 1MediumView Solutions
Count Number of SubTrees having given SumMediumView Solutions
CamelCase Pattern MatchingMediumView Solutions
3 DivisorsMediumView Solutions
Smith NumberMediumView Solutions
Two numbers with odd occurrencesMediumView Solutions
X Total ShapesMediumView Solutions
Minimum steps to destinationMediumView Solutions
Lemonade ChangeMediumView Solutions
Foldable Binary TreeMediumView Solutions
How Many X's?MediumView Solutions
Geek and its Game of CoinsMediumView Solutions
Nearly sortedMediumView Solutions
Unique SubsetsMediumView Solutions
K-PalindromeMediumView Solutions
Count Special NumbersMediumView Solutions
Duplicate SubtreesMediumView Solutions
String SubsequenceMediumView Solutions
Sum of ProductsMediumView Solutions
Transform StringMediumView Solutions
Check if two Nodes are CousinsMediumView Solutions
Smallest factorial numberMediumView Solutions
Arrange Consonants and VowelsMediumView Solutions
Hamiltonian PathMediumView Solutions
Check if a string is repetition of its substring of k-lengthMediumView Solutions
Game of XORMediumView Solutions
All Unique Permutations of an arrayMediumView Solutions
Prefix match with other stringsMediumView Solutions
Matchsticks gameMediumView Solutions
Rohan's Love for MatrixMediumView Solutions
Shortest Path in Weighted undirected graphMediumView Solutions
Rotate by 90 degreeMediumView Solutions
Flatten binary tree to linked listMediumView Solutions
Combination Sum IIMediumView Solutions
Determinant of a MatrixMediumView Solutions
Maximum difference of zeros and ones in binary stringMediumView Solutions
Generate IP AddressesMediumView Solutions
Largest subsquare surrounded by XMediumView Solutions
Paths from root with a specified sumMediumView Solutions
Exit Point in a MatrixMediumView Solutions
Decode the stringMediumView Solutions
Maximum sum RectangleMediumView Solutions
Smallest numberMediumView Solutions
Count distinct pairs with difference kMediumView Solutions
Construct Binary Tree from Parent ArrayMediumView Solutions
Insertion Sort for Singly Linked ListMediumView Solutions
Techfest and the QueueMediumView Solutions
Minimum Swaps for Bracket BalancingMediumView Solutions
Generate ParenthesesMediumView Solutions
Restrictive Candy CrushMediumView Solutions
Find duplicate rows in a binary matrixMediumView Solutions
Euler circuit and PathMediumView Solutions
Longest Arithmetic ProgressionMediumView Solutions
Additive sequenceMediumView Solutions
Populate Inorder Successor for all nodesMediumView Solutions
Minimize the DifferenceMediumView Solutions
Huffman EncodingMediumView Solutions
Construct list using given q XOR queriesMediumView Solutions
Find shortest safe route in a matrixMediumView Solutions
Preorder Traversal and BSTMediumView Solutions
Check if a given graph is tree or notMediumView Solutions
Smaller on LeftMediumView Solutions
Print matrix in diagonal patternMediumView Solutions
Water the plantsMediumView Solutions
Add Minimum CharactersMediumView Solutions
Absolute List SortingMediumView Solutions
Maximum product subset of an arrayMediumView Solutions
Longest Palindromic SubstringMediumView Solutions
Number of subarrays with maximum values in given rangeMediumView Solutions
Maximum sum of hour glassMediumView Solutions
Minimum Absolute Difference In BSTMediumView Solutions
Make Binary Tree From Linked ListMediumView Solutions
Add all greater values to every node in a BSTMediumView Solutions
Euler Circuit in an Undirected GraphMediumView 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 GeeksforGeeks website. You can also click on the solution link to view the solution of the problem.