Compare Two Trees
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
- easy
- Pro
Given two binary trees, decide whether they are identical, meaning the same shape with the same value at every position. Explain your approach and when you can stop early.
Talk this problem through with an AI coach
This is a Pro challenge. Sign in with Google, then upgrade to start a voice session.