Microsoft Interview Question

Print the binary tree in zig-zag order.

Interview Answers

Anonymous

Jun 5, 2012

I felt it was very difficult, as we need to use both stack and queue alternately to print the tree in zig-zag order.

Anonymous

Jun 9, 2012

i think its possible with usage of double animated propetis..........!!!