Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
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.
This comment is hidden because it contains spoiler information about the solution
Read the error messages and compare them to input / output. Also, here's some documentation on troubleshooting.
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?