ByteOnBikes@slrpnk.net to Memes@sopuli.xyz · 13 days agoBinary searchslrpnk.netexternal-linkmessage-square110fedilinkarrow-up11.49Karrow-down110
arrow-up11.48Karrow-down1external-linkBinary searchslrpnk.netByteOnBikes@slrpnk.net to Memes@sopuli.xyz · 13 days agomessage-square110fedilink
minus-squareDragon Rider (drag)@lemmy.nzlinkfedilinkEnglisharrow-up31arrow-down13·edit-213 days agoDrag has been in exactly this same situation. Stupid pigs. Also binary search isn’t a sorting algorithm. It’s a search algorithm. It only works on a data set that has already been sorted.
minus-squareChuymatt@beehaw.orglinkfedilinkarrow-up7·13 days agoCould you not say that the data set has already been sorted by time?
minus-squareThotDragon@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up10arrow-down2·13 days agoDrag is implying that. You could also say that the frames are sorted by bike present and not. Assuming the bike isn’t returned before the end of the tape.
Drag has been in exactly this same situation. Stupid pigs.
Also binary search isn’t a sorting algorithm. It’s a search algorithm. It only works on a data set that has already been sorted.
Could you not say that the data set has already been sorted by time?
Drag is implying that. You could also say that the frames are sorted by bike present and not. Assuming the bike isn’t returned before the end of the tape.
Thank you.