The Picard Maneuver@startrek.website to Programmer Humor@programming.dev · 1 year agoProgrammer tries to explain binary search to the policestartrek.websiteimagemessage-square33fedilinkarrow-up10arrow-down10cross-posted to: 196@lemmy.blahaj.zone
arrow-up10arrow-down1imageProgrammer tries to explain binary search to the policestartrek.websiteThe Picard Maneuver@startrek.website to Programmer Humor@programming.dev · 1 year agomessage-square33fedilinkcross-posted to: 196@lemmy.blahaj.zone
minus-squarestockRot@lemmy.worldlinkfedilinkarrow-up0·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
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