HF RL Explorer

AVL Tree Concatenation Task

AVL Tree Concatenation Task: a task in Terminal-Lego-15k (Harbor dataset). Implement an efficient algorithm to concatenate (merge/join) two AVL trees where all elements in the first tree are smaller than all elements in the second tree.

The task

Implement an efficient algorithm to concatenate (merge/join) two AVL trees where all elements in the first tree are smaller than all elements in the second tree.

Part of PrimeIntellect/Terminal-Lego-15k.