Comment on Binary search

Ephera@lemmy.ml ⁨2⁩ ⁨weeks⁩ ago

My dad once told me that he had to find the fuse that corresponded to a particular wire and because we have around 60 fuses in our house, he had to flick one off, run down and check the wire, run back up, flick the next fuse off, and do that quite a lot of times.

In that moment, I got to explain binary search to him and he was genuinely interested. 🙃

source
Sort:hotnewtop