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