Can MKTHNUM be solved with treap ?
I was learning about treap sometime back and I was trying a few problems today. Now I am wondering if MKTHNUM can be solved using a treap. And if possible can insertion queries also be handled with it ??
Round 946 Div 3 Solution Discussion (with myself)