gfg-potd

Sum Tree

gfg-potd

Given a Binary Tree. Check for the Sum Tree for every node except the leaf node. Return true if it is a […]

N meetings in one room

gfg-potd

You are given timings of n meetings in the form of (start[i], end[i]) where start[i] is the start time of meeting i and end[i] is the finish time

Edit Distance

gfg-potd

Given two strings str1 and str2. Return the minimum number of operations required to convert str1 to str2.The possible operations are permitted: Insert a character at any

Row with max 1s

gfg-potd

Given a boolean 2D array, consisting of only 1’s and 0’s, where each row is sorted. Find the 0-based index of

Remove Duplicates

gfg-potd

Given a string str without spaces, the task is to remove all duplicate characters from it, keeping only the first occurrence. Note: The

Scroll to Top