rb_tree_sim
Build a red-black tree from numeric keys and return its inorder traversal, height, black height, and validity check.
Instructions
Build a red-black tree from a list of keys. Returns inorder traversal, tree height, black height, and validity check.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | Yes | Keys to insert into the red-black tree |