Ad
  • Custom User Avatar

    This error is only reproducible in the older TypeScript translation, where the reference solution mistakenly calling the user solution in actual test line 47.

    Closing, since reference solution is no longer affected by user solution in the current TypeScript translation.

  • Custom User Avatar
  • Custom User Avatar

    you can find it in the trainer ("past solutions" panel) or in the "Solutions/my solutions" page.

  • Custom User Avatar

    I am not sure if you have confused yourself. (OTOH, I am sure you have confused me).

    When I add and execute a Typescript test using the input you gave if gives expected result [ 0, 2, 3, 4, 5, 4, 3, 2, 1, 0 ] which at first glance looks ok.