Introduction - If you have any usage issues, please Google them yourself
The largest K tree can be extended automatically after each query, and the target node is left, right to the root node, so that the next maximum value can be obtained through the most right terminal tree of the left subtree.