ByteOnBikes@slrpnk.net to Memes@sopuli.xyz · 21 days agoBinary searchslrpnk.netimagemessage-square124fedilinkarrow-up11.5K
arrow-up11.5KimageBinary searchslrpnk.netByteOnBikes@slrpnk.net to Memes@sopuli.xyz · 21 days agomessage-square124fedilink
minus-squarelunarul@lemmy.worldlinkfedilinkarrow-up3·20 days agoIf when you divide your set in two, you can reliably tell which of the two subsets definitely has what you’re looking for, then it’s binary search.
If when you divide your set in two, you can reliably tell which of the two subsets definitely has what you’re looking for, then it’s binary search.