Here is a recursive solution.The code is self explanatory
[gist https://gist.github.com/vishnujayvel/5871650]Tag Archives: print-nodes-at-k-distance-from-root
Printing nodes at the K distance from root of a binary Tree
0Here is a recursive solution.The code is self explanatory
[gist https://gist.github.com/vishnujayvel/5871650]