WA on treap implementation need figure use indexed array to find kth
a trivial merge