search_node
Find an integer key in a specified BST or AVL tree by providing the tree type and key value.
Instructions
Search for a key in the specified tree.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | The integer key to search for | |
| treeType | Yes | The type of tree to search in |