Level_order_zigzag

I am not getting the correct output. what is wrong here?

I have slightly modified your two functions, one is insert and other is printlevel, kindly try to submit it


If you didnt understood the modifications, plz let me know