Grammarly Depth First Search Questions

4 depth first search problems asked at Grammarly interviews

Easy (1)Medium (2)Hard (1)

Questions

TitleDifficulty
Sum of Left LeavesEasy
Word SearchMedium
Recover a Tree From Preorder TraversalHard
Number of IslandsMedium

Showing 4 questions