Given a binary tree, print all root-to-leaf paths
Anonymous
I said dfs, I used recursive programming. But I just could not make the code working, and I could not understand where to push/ pop the data from the stack in my implementation.
Check out your Company Bowl for anonymous work chats.