Check heights
As of this year we consider an empty tree to have height -1 and a single leaf to have height 0. This might matter for some questions, update those :)
As of this year we consider an empty tree to have height -1 and a single leaf to have height 0. This might matter for some questions, update those :)