Ad
  • Custom User Avatar

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

  • Custom User Avatar

    My Code passes the basic tests and the random tests. Upon attempting, one of the basic tests seem to fail (expeted: 15, actual: -1). When i switch back to testing, all basic tests pass. Has someone experienced this as well?

  • Custom User Avatar

    Could you explain why it is not “clean code“? :)

  • Custom User Avatar

    TypeScript:

    The code passes all basic tests upon “testing“. Once attempting, the basic test fails because of an undefined entry in the returned array, while the random tests all pass.

    Any hints?