Takes the book name, author, and ISBN from a book and inputs the book into an AVL tree. The AVL tree automatically checks for imbalances and adjusts according to how the data structure normally works and eventually outputs the books in order also outputting the imbalances and rotations to fix it.
nirvair-sangha / avl_library Goto Github PK
View Code? Open in Web Editor NEWCreated a self-balancing tree (AVL tree) that takes in a book and adjusts itself and outputs the book and the rotation it underwent.