this post was submitted on 17 Jan 2026
1036 points (99.5% liked)

Programmer Humor

28641 readers
1185 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] protogen420@lemmy.blahaj.zone 7 points 5 days ago

binary search still works fine, you just need a function probability then you cut at the median, and then rucurse into the slices