The Picard Maneuver@startrek.website to Programmer Humor@programming.dev · 10 months agoProgrammer tries to explain binary search to the policestartrek.websiteimagemessage-square188fedilinkarrow-up1145arrow-down10
arrow-up1145arrow-down1imageProgrammer tries to explain binary search to the policestartrek.websiteThe Picard Maneuver@startrek.website to Programmer Humor@programming.dev · 10 months agomessage-square188fedilink
minus-squareNullPointer@programming.devlinkfedilinkarrow-up0arrow-down1·10 months agojust tell them there is a black man at the moment of theft, they will get on it lickety split!
minus-squareGrimble [he/him,they/them]@hexbear.netlinkfedilinkEnglisharrow-up2·10 months ago Binary search: O(log(n)) Sequential search: O(n) Linear search: O(n) Police ethnicity database search: O(0)
just tell them there is a black man at the moment of theft, they will get on it lickety split!