The Picard Maneuver@startrek.website to Programmer Humor@programming.dev · 11 months agoProgrammer tries to explain binary search to the policestartrek.websiteimagemessage-square189fedilinkarrow-up1114arrow-down10
arrow-up1114arrow-down1imageProgrammer tries to explain binary search to the policestartrek.websiteThe Picard Maneuver@startrek.website to Programmer Humor@programming.dev · 11 months agomessage-square189fedilink
minus-squareNullPointer@programming.devlinkfedilinkarrow-up0arrow-down1·11 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-up1·11 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!