← All problems
Medium · Trees

Binary Tree Level Order Traversal

Group node values by depth from the root.

Full problem and submission ↗
main.js

Console

Ready