Comment on Programmer tries to explain binary search to the police

<- View Parent
adrian783@lemmy.world ⁨11⁩ ⁨months⁩ ago

you can do it like you weight 6v6 then 3v3 then for the last weighing you weight the 2 out of 3.

or you weigh 4v4 to find out which grouping of 4 the light weight person is in, then do 2v2 and 1v1.

source
Sort:hotnewtop