The Picard Maneuver@startrek.website to Programmer Humor@programming.dev · 2 years agoProgrammer tries to explain binary search to the policestartrek.websiteexternal-linkmessage-square38linkfedilinkarrow-up151arrow-down10
arrow-up151arrow-down1external-linkProgrammer tries to explain binary search to the policestartrek.websiteThe Picard Maneuver@startrek.website to Programmer Humor@programming.dev · 2 years agomessage-square38linkfedilink
minus-squarestockRot@lemmy.worldlinkfedilinkarrow-up0arrow-down1·2 years 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
Ever 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