TheChetan

Zig Zag Tree

Jun 14th, 2021 (edited)
1,132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. 6. Print zig zag view of a tree.
  2. Example:
  3. 5
  4. / \
  5. / \
  6. 3 6
  7. / \ / \
  8. 5 7 - 9
  9.  
  10. Ans: 5 6 3 5 7 9
  11.  
  12.  
Advertisement
Add Comment
Please, Sign In to add comment