Comment on Programmer tries to explain binary search to the police

<- View Parent
ChairmanMeow@programming.dev ⁨11⁩ ⁨months⁩ ago

I mean that not knowing it is part of the question, and the proposed solution doesn’t work without knowing if the person is heavier or lighter.

If you know if the person is heavier or lighter, the question becomes trivial.

source
Sort:hotnewtop