Programmer tries to explain binary search to the police - eviltoast
  • stockRot@lemmy.world
    link
    fedilink
    arrow-up
    4
    arrow-down
    14
    ·
    11 months ago

    Ever heard of a logarithm? If you haven’t, you just reinvented it.

    Also, your math is wrong: log base 2 of 200,000 is ~18

    • CoderKat@lemm.ee
      link
      fedilink
      English
      arrow-up
      15
      ·
      edit-2
      11 months ago

      You did 200k years. You need to do 200k years as seconds (the 6.311e12 they mentioned). Their math is right.

      Not sure why you’re acting like they claimed to invent the logarithm, either…