logoalt Hacker News

strstrtoday at 1:53 AM1 replyview on HN

Who does a sort for this D:


Replies

marseysneedtoday at 2:00 AM

You need the middle value. You cannot be certain what is the middle value without a sorted array, unless I am mistaken.

show 3 replies