Group Binary Tree Nodes by Column

Asked at Meta · Coding Questions · Difficulty: Medium · Last asked Jul 19, 2026

Given the root of a binary tree, group the node values by column and return the groups from the leftmost column to the rightmost.

Loading the problem…