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.
Thank you!
Approved
Hi @AntonRatnick, please check my fork as I did a few corrections:
local
to the variables inside the function since variables in Lua are global by default, and in general we should try to avoid global variables as much as possible.Since the description is shared for all the languages, I went back to "array" and "integers" as it's the most language independent description.
ok! next question: why I am so stupid?
Thanks =)
Because your code doesn't work with negative odd numbers?
This comment is hidden because it contains spoiler information about the solution