|
|
|
|
|
by balfirevic
2774 days ago
|
|
That doesn't sound like "inverting". If that is what it means then it is indeed a bad name. I always thought it means making one of the leaf nodes a root of the tree. Physically, it would look like taking one of the leaf nodes with your fingers and "hanging" the tree off of it. |
|
What you describe is called “rotation,” and is used to rebalance.