Let's have a look at some more traversals which are not that standard but will help you to expand your control over Binary trees. Spiral Traversal In this traversal, we need to print the nodes in a zig-zag format. As you can see in the above example...
anurag-pathak.hashnode.dev7 min read
No responses yet.