โ† Tekion questions

Longest Zig-Zag path in a Binary Tree

Filed under Tekion

The question

Given a binary tree, find the length of the longest zig-zag path traversal (alternating left and right directions).

No write-up yet. Related questions below have one.

Related Tekion questions

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