stockRot@lemmy.worldtoProgrammer Humor@programming.dev•Programmer tries to explain binary search to the police
01·
10 months agoEver heard of a logarithm? If you haven’t, you just reinvented it.
Also, your math is wrong: log base 2 of 200,000 is ~18
How is multiplying akin to rotating?