8
Kodnot
6y

When you spend 1 hour trying to solve a programming challange... And then realise "All integers starting with 1" means all integers from 1 to inf, and not all integers that begin with the digit 1. UUUGGH

Comments
  • 2
    I would say your interpretation is more correct. If they said all integers starting AT 1, this would have cleared the confusion. Since they skipped this statement and included a more vague definition, they must be purposefully avoiding the AT definition, making your interpretation more correct.
  • 1
    @gorsamp the rest of the challenge made things even more confusing. They gave the start of the sequence as "123456789101112131415...", but worded it as: "The sequence starts with this prefix: (the given beginning of the sequence)", so I assumed the first 9 digits is a special case (a "prefix" to the sequence), and the rest is numbers that start with one... Oh well.
Add Comment