How can i do it iteratively?
crx-is-bt-a-bstcode-and-theory
Vipin_coder
(Pawan Singhla)
August 16, 2020, 1:39pm
#1
how can i do it iteratively?
leoking
(Abhinav Jha)
August 16, 2020, 1:43pm
#2
Use a stack to keep the nodes while iterating over the tree