ByteOnBikes@slrpnk.net to Memes@sopuli.xyz · 25 天前Binary searchslrpnk.netimagemessage-square125fedilinkarrow-up11.51Karrow-down110
arrow-up11.5Karrow-down1imageBinary searchslrpnk.netByteOnBikes@slrpnk.net to Memes@sopuli.xyz · 25 天前message-square125fedilink
minus-squarelunarul@lemmy.worldlinkfedilinkarrow-up3·24 天前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.
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.