Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 100. Same Tree
Determine whether two binary trees are identical by checking that they have the same structure and corresponding node values (i.e., every pair of corresponding nodes are either both null or have equal values). This is typically solved by a parallel traversal (recursive or iterative) that compares nodes in lockstep.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.