Output is changed

please check my code i am having litttle change in my output. I am saving code on coding block ide please copy it and paste it on leetcode problem.

Code link:-https://ide.codingblocks.com/s/276238

problem link:-https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal/

Hey Gaurav, in line 43 just make the condition as (x.first%2==0), rest is all fine.

Thank you @mayankA47 You corrected my leetcode problem you deserve 5 stars ):.

1 Like