← Flipkart questions

Wave traversal of Binary Tree

Filed under Flipkart

Given a binary tree, implement a wave traversal pattern (also known as zig-zag level order traversal), where the traversal direction alternates between left-to-right and right-to-left for each…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Flipkart questions

Collected from public candidate posts and coding forums. Updated Nov 2026.