rohit_1801's blog

By rohit_1801, history, 10 months ago, In English

Hello Community, I wanted to have a function to find order of key for an ordered set in java. As far as I know there is no any predefined function to find the number of elements lesser than the given element in an ordered set(treeset) in java in log(n) time? Can some one share their implementation. Thanks !!

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it