m2skills

spiral BT op cpp

Jun 1st, 2018
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. SPIRAL Level wise traversal of the above binary tree is :
  2.  
  3. Nodes at level 1 are : 1
  4. Nodes at level 2 are : 2 3
  5. Nodes at level 3 are : 6 4 5
  6. Nodes at level 4 are : 7 8
  7. Nodes at level 5 are : 11 9
  8. Nodes at level 6 are : 10
  9. Process finished with exit code 0
Add Comment
Please, Sign In to add comment