Can MKTHNUM be solved with treap ?

Revision en1, by sdssudhu, 2018-06-17 19:22:53

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 ??

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English sdssudhu 2018-06-17 19:22:53 279 Initial revision (published)