InterviewBit Problems   Burn a Tree : Solved


About the Burn a Tree : Solved category (1)
I got accepted with memory limit exceed what modification need to be implemented in my code (2)
Intuitive solution O(n) (1)
BFS with max level number as answer (1)
Recursive dfs solution (4)
Simple O(n) space solution with comments and hints too (1)
O(N) with constant space, single pass DFS (5)
Sasta ni Sabse Acha (2)
Recursive Simple (1)
Solution If B is not a leaf node (1)
BFS is like a forest fire (1)
Simple Solution in cpp in O(N) time and O(n) space (Burn Tree) (1)