Closed Nico314159 closed 1 year ago
The current code doesn't work with switch statements that actually start at 0 (it will create the binary tree as if the first value was 1). In order to fix this, you need to use None here instead of 0.
None
0
The current code doesn't work with switch statements that actually start at 0 (it will create the binary tree as if the first value was 1). In order to fix this, you need to use
None
here instead of0
.