Given a binary tree, traverse and print the nodes such that the first two levels are traversed left-to-right, the next two levels right-to-left, and continuing in this alternating pair of levels…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.