Vocabulary
trees.splay

Inputs
assocan assoc


Outputs
treea splay


Word description
Converts any assoc into an splay tree. If the input assoc is any kind of tree, the elements are added in reverse level order (reverse breadth-first search) to attempt to copy it's shape.

Definition