Chippys_mittens@lemmy.world to memes@lemmy.world · 3 days agoGenies hate this one simple tricklemmy.worldimagemessage-square111fedilinkarrow-up1841arrow-down113
arrow-up1828arrow-down1imageGenies hate this one simple tricklemmy.worldChippys_mittens@lemmy.world to memes@lemmy.world · 3 days agomessage-square111fedilink
minus-squarettyybb@lemmy.worldlinkfedilinkarrow-up2·edit-22 days agoYour poorly optimizing. With a linear search, you only need 9 per digit, a binary search will get it all done in like 4 or 5 guesses
minus-squareBatman@lemmy.worldlinkfedilinkarrow-up1·2 days agoI like your thinking, but a binary search would require us to know whether our guess is too high or low, no?
Your poorly optimizing. With a linear search, you only need 9 per digit, a binary search will get it all done in like 4 or 5 guesses
I like your thinking, but a binary search would require us to know whether our guess is too high or low, no?