Skip to main content

GFG medium problems 0401-0500

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

Problem NameDifficultySolution Link
Get Minimum SquaresMediumView Solutions
Sequence of SequenceMediumView Solutions
Number Of IslandsMediumView Solutions
New Year ResolutionMediumView Solutions
Minimum Cost To Make Two Strings IdenticalMediumView Solutions
Unique Paths in a GridMediumView Solutions
Count subsequences of type a^i, b^j, c^kMediumView Solutions
Count digit groupings of a numberMediumView Solutions
Mobile numeric keypadMediumView Solutions
Preorder traversal (Iterative)MediumView Solutions
Large FactorialMediumView Solutions
Check Mirror in N-ary treeMediumView Solutions
Trail of onesMediumView Solutions
Inorder Traversal (Iterative)MediumView Solutions
Modified Game of NimMediumView Solutions
Subarrays with sum KMediumView Solutions
Longest alternating subsequenceMediumView Solutions
Asteroid CollisionMediumView Solutions
Pairs violating the BST propertyMediumView Solutions
Rearrange charactersMediumView Solutions
Valid Compressed StringMediumView Solutions
Rotate a 2D array without using extra spaceMediumView Solutions
String rp or prMediumView Solutions
Express as sum of power of natural numbersMediumView Solutions
Help ClassmatesMediumView Solutions
Kth common ancestor in BSTMediumView Solutions
Traverse All Edges And VerticesMediumView Solutions
PatternMediumView Solutions
Dice throwMediumView Solutions
Count of SubarraysMediumView Solutions
Find k-th smallest element in given n rangesMediumView Solutions
SubsetsMediumView Solutions
Clone an Undirected GraphMediumView Solutions
Min CoinMediumView Solutions
Remove and ReverseMediumView Solutions
Permutation with SpacesMediumView Solutions
Cheapest Flights Within K StopsMediumView Solutions
Smaller SumMediumView Solutions
Look and Say PatternMediumView Solutions
Cutting Binary StringMediumView Solutions
Postorder Traversal (Iterative)MediumView Solutions
Alternate Vowel and Consonant StringMediumView Solutions
Anti Diagonal Traversal of MatrixMediumView Solutions
Rotate and deleteMediumView Solutions
Santa BantaMediumView Solutions
Special MatrixMediumView Solutions
Task SchedulerMediumView Solutions
Target SumMediumView Solutions
Equal SumMediumView Solutions
Maximum Triplet productMediumView Solutions
Maximum subset sumMediumView Solutions
Next Greater Element in Circular ArrayMediumView Solutions
Maximum LengthMediumView Solutions
Possible paths between 2 verticesMediumView Solutions
Flatten BST to sorted listMediumView Solutions
Subarray range with given sumMediumView Solutions
Shortest Prime PathMediumView Solutions
Composite and PrimeMediumView Solutions
Product of PrimesMediumView Solutions
Make array elements uniqueMediumView Solutions
Complete Binary TreeMediumView Solutions
Remove the ballsMediumView Solutions
String formation from substringMediumView Solutions
Nearest smaller towerMediumView Solutions
Replace every element with the least greater element on its rightMediumView Solutions
Number of waysMediumView Solutions
Minimum times A has to be repeated such that B is a substring of itMediumView Solutions
Second smallest numberMediumView Solutions
Leaves to DLLMediumView Solutions
Finding ProfessionMediumView Solutions
Count Palindrome Sub-Strings of a StringMediumView Solutions
Polynomial AdditionMediumView Solutions
Shy GeekMediumView Solutions
Array RemovalsMediumView Solutions
Intersection Point in Y Shaped Linked ListsMediumView Solutions
Prime ListMediumView Solutions
Smallest sum contiguous subarrayMediumView Solutions
Minimum Steps RequiredMediumView Solutions
Maximum Intersecting LinesMediumView Solutions
Delete nodes greater than kMediumView Solutions
Hands of StraightsMediumView Solutions
Length of the longest subarray with positive productMediumView Solutions
Magic TripletsMediumView Solutions
Is Sudoku ValidMediumView Solutions
Geek and Number StringMediumView Solutions
Count even lengthMediumView Solutions
Count pairs in array divisible by KMediumView Solutions
BST Maximum DifferenceMediumView Solutions
Another Coin Change ProblemMediumView Solutions
Subsets with XOR valueMediumView Solutions
Find Kth permutationMediumView Solutions
Max CoinsMediumView Solutions
Stack PermutationsMediumView Solutions
Geek's TrainingMediumView Solutions
Black and WhiteMediumView Solutions
Largest subtree sum in a treeMediumView Solutions
Distinct ColoringMediumView Solutions
Prefix Suffix StringMediumView Solutions
Easy TaskMediumView Solutions
Count Total SetbitsMediumView 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.