reset_tree
Clear a BST or AVL tree to an empty state by specifying its type. Useful when restarting tree practice, demos, or visualization sessions.
Instructions
Reset the specified tree (bst or avl) to be empty.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| treeType | Yes | The type of tree to reset |