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.
retired, duplicate
yes
Duplicate?
Python update:
it
blocks, ...)The formatting of your examples are also kinda unclear
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!
my kata passed for sample test but taking long time to pass test case. I am not sure why is happening.
Thanks for your feedback! This is my first kata and I will try to improve it.
Description is unclear, there are two examples dropped without good explanations how the result is derived.