• lunarul@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    18 days ago

    If when you divide your set in two, you can reliably tell which of the two subsets definitely has what you’re looking for, then it’s binary search.