Ad
  • Custom User Avatar

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

  • Custom User Avatar
  • Custom User Avatar

    Description does not specify that musicals occurring after the endpoint are counted.

  • Custom User Avatar

    Description should be made language agnostic

  • Custom User Avatar

    This is for the Haskell version. I believe the result that's expected is wrong for the below.

    2316 2538 4 19 expected 0 but got 2

    The students of the years 2537 and 2538 never get to see a musical performed and so the right answer has to be 2 but the test expects 0. Or is a musical always performed on the end year too. The description doen't say so.

  • Custom User Avatar

    Your description suffers from the typical problem of "example as definition, and definition as notes". The 2nd point in "Notes" should go into the definition and the example put after that. As it is right now the description is highly confusing.

  • Custom User Avatar
    • No random tests
    • Difference between "kth and k + 1th elements" can be interpreted in multiple ways, but the expected result is not specified
    • Error handling is more annoying than anything and should be removed, moreover using the same data type both for "correct" and "incorrect" inputs is a terrible design choice
    • The kata essentially comes down to accessing an element by index, and that's not a novel idea at all
  • Custom User Avatar

    No random tests.

  • Custom User Avatar
    1. Please remove the JavaScript version. It's apparently a mistake.
    2. Please specify what to do when there are multiple possible answers, because the intermediate answer contains numbers between 10 and 25 inclusive.
    3. For clarity, please write 1234 as 01234.