Balancing an AVL tree
Hey, I'm just having a bit of trouble inserting into an AVL tree and then balancing it.
here's the code for insert and balance.
Here's the output:
As you can see, everything goes fine until I insert 'u', at which point x disappears.
If you need any other information, let me know!
Topic archived. No new replies allowed.