Comments on: AVL Tree (+ Java Code Examples) https://www.happycoders.eu/algorithms/avl-tree-java/ Fri, 25 Apr 2025 09:30:40 +0000 hourly 1 By: andreluizfv https://www.happycoders.eu/algorithms/avl-tree-java/#comment-41149 Fri, 25 Apr 2025 09:30:40 +0000 https://www.happycoders.eu/books/avl-baum-java/#comment-41149 super.insertNode(key, node) returns void. I saw it in the provided link (https://www.happycoders.eu/algorithms/binary-search-tree-java/#Binary_Search_Tree_Insertion). Then, I think we have a problem at the overrided insert function where it does node = super.insertNode. Am I losing anything?

]]>
By: Sven Woltmann https://www.happycoders.eu/algorithms/avl-tree-java/#comment-23731 Mon, 19 Feb 2024 12:41:07 +0000 https://www.happycoders.eu/books/avl-baum-java/#comment-23731 In reply to Vladislav.

That's what we're doing by calling `updateHeight()` and `rebalance()`.

]]>
By: Vladislav https://www.happycoders.eu/algorithms/avl-tree-java/#comment-23482 Sat, 10 Feb 2024 18:56:31 +0000 https://www.happycoders.eu/books/avl-baum-java/#comment-23482 Shouldn't we fix the whole tree after insertion and deletion?

]]>
By: nara https://www.happycoders.eu/algorithms/avl-tree-java/#comment-19525 Wed, 04 Oct 2023 12:17:18 +0000 https://www.happycoders.eu/books/avl-baum-java/#comment-19525 Visualized well! Very concise and thorough. You explained this better than my professor. Thank you!

]]>
By: savan https://www.happycoders.eu/algorithms/avl-tree-java/#comment-17585 Wed, 04 Jan 2023 14:59:26 +0000 https://www.happycoders.eu/books/avl-baum-java/#comment-17585 Excellently tought. thank you sven.

]]>