Totally agree, thanks for taking the time for great feedback. I alluded to it in the post but never addressed it. There are a couple of ways of determining height and balance factor. One way that I found, like you said is to maintain height references in the nodes. This overly complicated rotation code for me. The first code example is one example of a rotation that maintains a height reference.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Totally agree, thanks for taking the time for great feedback. I alluded to it in the post but never addressed it. There are a couple of ways of determining height and balance factor. One way that I found, like you said is to maintain height references in the nodes. This overly complicated rotation code for me. The first code example is one example of a rotation that maintains a height reference.