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.
Do not print the result, return it instead (read this)
Ideally, requirements should be roughly the same in different languages, but it's not perfect science and it's not always easy to adjust. The framework makes a code time out when it doesn't pass all the provided tests in 12 s, that's all. Here it seems clear: to pass the tests, the user must provide a solution with a linear complexity.
Is it reasonable to assume that the same timeout applies to a kata for all programming languages, or does each kata have an individual timeout depending on the programming language? I suspect that the same timeout applies to all languages for each kata.
You do.
Read this: https://docs.codewars.com/training/troubleshooting/
Not an issue. Please remember to mark your solution as spoiler.
You can print the test cases to see which ones are failing. The random tests can be ...random.