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