Interview Questions and Answers :: Amazon
Home > Experience Archives > Amazon > Interview Question Set 1 > Discussion
3. Write a Program to print a binary tree in Zig Zag way.
OR
Print the Binary Tree in Zig Zag Level-Order.
Input:
.................(25)
......... (4)...........(10)
.....(2)......(8)...(12)......(7)
OutPut: 25,10, 4, 2, 8, 12, 7
Answer:
No Discussion on this question yet!
No Discussion on this question yet!