• Finds the minimum element in the splay tree

    Finds the smallest element in the tree and splays it to the root. This maintains the splay tree property that frequently accessed elements are moved closer to the root.

    Parameters

    Returns {
        tree: SplayTree<any>;
        value: any;
    }

    object containing the minimum value and the splayed tree