Traverse In A Zig Zag - Python Question
Challenges
• Last reply from Jake from AlgoDaily at December 23, 2019 at 12:00AM UTC
The two examples present in the question contradict each other.
For the first tree,
1
/ \
2 3
/ \
4 5
The traversal presented is is left to right on second level and right to left on third level, giving us [[1], [2, 3], [5...