ByteOnBikes@slrpnk.net to Memes@sopuli.xyz · 1 个月前Binary searchslrpnk.netexternal-linkmessage-square122fedilinkarrow-up11.48Karrow-down19
arrow-up11.47Karrow-down1external-linkBinary searchslrpnk.netByteOnBikes@slrpnk.net to Memes@sopuli.xyz · 1 个月前message-square122fedilink
minus-squarelunarul@lemmy.worldlinkfedilinkarrow-up3·1 个月前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.