Ad
  • Default User Avatar

    HI maxwell150, first: don't post code without the spoiler tag, (others can see it). Next: it's not a kata issue if your code is not working. Finally, you need to return the value, not print it.

  • Custom User Avatar

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

  • Default User Avatar

    Read the error messages and compare them to input / output. Also, here's some documentation on troubleshooting.

  • Custom User Avatar

    So, im not sure whats wrong here, the code works on Replit when i copy the test arrays however it only works for 18 and fails for 27 on here, what kind of things should i be looking out for that could be wrong?