Ad
  • Custom User Avatar

    The formatting of your examples are also kinda unclear

  • Default User Avatar

    This is the main idea of this kata. By simply iterating over all the numbers, your solution will not go through time, since in the test examples there are numbers up to 10 ^ 9. Try to think of a faster algorithm. Thank you for paying attention to my kata, I am sure that you will definitely be able to solve it!

  • Custom User Avatar

    my kata passed for sample test but taking long time to pass test case. I am not sure why is happening.