Skip to main content

MKTHNUM - K-th Number SPOJ

Problem :: MKTHNUM - K-th Number SPOJ

Comments

  1. How the Binary search will work here?Could you please explain?

    ReplyDelete

Post a Comment

Popular posts from this blog

Histogram - LOJ

It's a well-known problem and the well-known solution is using a stack. I tried to solve it by segment tree( iterative version for building tree ) and got TLE. Hope I can optimize the code.  TLE CODE