| ▲ | peri-cl an hour ago | |
Yes, but that's also O(log n) physical effort. This one's O(1) sitting on your butt. (Out of curiosity: I think "physical binary search" is more properly O(n^{1/3} log(n)), or maybe O(n^{1/2} log(n)). Since physical objects have sizes, and moving things (or moving between things) takes time proportional to distance). | ||