Visit Level by Level
Talk it through with a coach who asks guiding questions and gives hints until you reach the answer. Pass to mark the challenge as completed.
The problem
- medium
- Pro
Given a binary tree, return its values grouped by level: the root's level, then the next level from left to right, and so on. Explain your approach and its cost.
Talk this problem through with an AI coach
This is a Pro challenge. Sign in with Google, then upgrade to start a voice session.