← Back
00:00

Tree Diagonal Traversal

Goldman Sachs interview questions · Medium · Coding round · 6 tests

Traverse a binary tree diagonal by diagonal, where moving right stays on the same diagonal and moving left drops to the next one.

The full question, tests and reference solution are available with a plan that includes Goldman Sachs.

Idle