Bst to sorted LL flatten

why we cant use inorder here… sir has done his ques with postorder why?

@chaman9
You can do it any of the 3 ways
namely inorder postorder and preorder
Result will be same only

okay rest two i will try to implement

@chaman9
If your doubt is resolved please close it

i already did that aarnav

1 Like