Finds the maximum element in the splay tree
Finds the largest 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.
the tree to search in
object containing the maximum value and the splayed tree
Finds the maximum element in the splay tree
Finds the largest 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.