Spiral print by level order

sir/ma’am if we want to print in spiral way by level odering ,lets say if level is even we can print directly but at ood level we have to print int reverse order how can we do that???

@Ashu1318 refer the discuss in this link
(https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal/)

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.