- insert: Iterative insertion of a new node.
- insertRec: Recursive insertion of a new node.
- search: Iterative search for a node with a specific value.
- searchRec: Recursive search for a node with a specific value.
- postorder: (Not implemented)
- postorderRec: Rekursive postorder traversal
- preorder: Iterative preorder traversal.
- preorderRec: Recursive preorder traversal.
- inorder: Iterative inorder traversal.
- inorderRec: Recursive inorder traversal.
- delete: Deletes a node with a specific value from the binary tree.
- TreeToVine: Converts the binary tree into a vine (right-skewed binary tree) and returns the count of operations performed.
- compress: Helper function used in VineToTree to compress the vine.
- VineToTree: Converts the vine (right-skewed binary tree) back into a balanced binary tree.
- isComplete: Checks if the binary tree is complete.