Comment on Programmer tries to explain binary search to the police
stockRot@lemmy.world 1 year 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
Comment on Programmer tries to explain binary search to the police
stockRot@lemmy.world 1 year 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
CoderKat@lemm.ee 1 year ago
You did 200k years. You need to do seconds. Their math is right.