saichandu6's blog

By saichandu6, history, 9 years ago, In English

Given N points ( 1 <= N <= 100000 ) Draw a straight line that connects maximum of those points and output the count of those points.

  • Vote: I like it
  • -2
  • Vote: I do not like it

»
9 years ago, # |
  Vote: I like it 0 Vote: I do not like it

You can't do better than O(N^2), so I believe that N is not ~10^5.

»
9 years ago, # |
  Vote: I like it 0 Vote: I do not like it

I saw it here, but I did not understand.

PD: Sorry for my poor english.