Fetching algorithms...
root = [1, null, 2, 3]
[3, 2, 1]
root = []
[]
root = [1]
[1]
Time Complexity
Space Complexity