ByteOnBikes@slrpnk.net to Memes@sopuli.xyz · 2 days agoBinary searchslrpnk.netexternal-linkmessage-square115fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-linkBinary searchslrpnk.netByteOnBikes@slrpnk.net to Memes@sopuli.xyz · 2 days agomessage-square115fedilink
minus-squarelunarul@lemmy.worldlinkfedilinkarrow-up0·2 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.