Ad
  • Custom User Avatar

    I was just being cheeky. ;D

    And yes @Mitchees I did successfully build my binary conversion function!

  • Custom User Avatar

    I thought the same thing, so I thought they must have intended for you to write your own conversion to binary function from scratch.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    I tried to see how long it would take this code to check the first 16,000,000 integers for narcissism. My super basic junior developer tier code took 50 seconds to check 16 million integers for narcissism, this one-liner solution took 70 seconds, almost 50% longer than my dumb inexperienced code. I don't see how that qualifies as best practice either. Clever though, sure.