Added avl height benchmark

This commit is contained in:
2025-05-06 19:02:00 +02:00
parent e45091b066
commit 93311c4ad5
12 changed files with 328 additions and 94 deletions
+13
View File
@@ -0,0 +1,13 @@
struct AVL_tree {
int info;
AVL_tree *left;
AVL_tree *right;
int height;
};
int getHeight(AVL_tree *root);
AVL_tree *insertAVL(AVL_tree *root, int value);
AVL_tree *rotateLeft(AVL_tree *root);
AVL_tree *rotateRight(AVL_tree *root);
AVL_tree *searchAVL(AVL_tree *root, int value);
void deleteAVL(AVL_tree *root);