getting segmentation fault
Level order zig zag
@mkidwai74 i have gone through your code but it is not giving the segmentation fault but it is just not giving any output.
its giving output now but i am not able to figure out what the error was in my code
@mkidwai74 you were not building the tree in the correct way:
when you are taking the string input you dont have to check if it is for true only because if you will check then you will not be able to add null then.