Report seen similar question in interview
Accepted
980/1.8k
Acceptance Rate55.2%
Python3
Test Cases
Input
root =
Output
Expected