Ad
  • Default User Avatar

    This approach is correct and perfectly fits the time. My solution with the same approach took 2273ms to execute all the tests.

  • Custom User Avatar

    Please don´t post hints in Discourse. Submitted solutions are in Solutions, you can comment a solution there if you want, that's enough. However,you must use a spoiler flag as soon as you give a clue to a solution, comments posts are visible to everyone by default. Users who didn't solve a kata must not be given the solution.