ByteOnBikes@slrpnk.net to Memes@sopuli.xyz · 2 years agoBinary searchslrpnk.netimagemessage-square121linkfedilinkarrow-up11.53Karrow-down111
arrow-up11.52Karrow-down1imageBinary searchslrpnk.netByteOnBikes@slrpnk.net to Memes@sopuli.xyz · 2 years agomessage-square121linkfedilink
minus-squarelunarul@lemmy.worldlinkfedilinkarrow-up3·2 years 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.