An implementation of an AVL-tree, a self-balancing binary tree, in Golang.
This code is not well tested, and should not be used in production code.
Original code comes from Geeks for Geeks article, but I have added generics and my code uses methods instead of functions.
https://en.wikipedia.org/wiki/AVL_tree https://www.geeksforgeeks.org/avl-tree-implementation-in-golang/
- Needs way more tests to make sure that this implementation works