Search
⌘K
Get Premium
Leetcode 102. Binary Tree Level Order Traversal
Return the values of a binary tree grouped by depth, from left to right for each level (i.e., a level-order / breadth-first traversal). For an empty tree return an empty list.
Asked at:
Meta
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Early August, 2025
Meta
Senior
Late January, 2025
Meta
Staff
Early October, 2024
Meta
Mid-level
The interviewer expected me to give solutions for DFS and BFS both
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.