Ezvor
Interview prep & careers
Practice
Home
Problems
Study Lists
Progress
Leaderboard
Compiler
Career
Readiness
Roadmaps
Opportunities
Resources
AI Advisor
0
day streak
0
solved
Settings
Sign in
Toggle Sidebar
Ezvor
Interview prep & careers
Problem List
Run
Submit
Interview
Interview mode
0
00:00
Description
Editorial
Solutions
AI Coach
Submissions
Notes
1660. Correct a Binary Tree
Medium
Hash Table
Preparing judge…
LeetCode
Hash Table
Tree
Depth-First Search
Breadth-First Search
Binary Tree
Hints
Hint 1
If you traverse the tree from right to left, the invalid node will point to a node that has already been visited.
Preparing judge…
Testcase
Test Result
Case 1
Input