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.
It seems so only at first glance, perhaps it still seems so because of the "mathematics" tag. But in fact, the complexity of this kata is fully consistent with its 5kyu and it is solved without any mathematics, just in cycles and does not require any difficult optimization.
Yup, I tried to prioritize performance and lines of code. But you are right, this solution would not be suitable for work environments.
Yo, this looks clever, but it's very difficult to understand to a third party or yourself at a future date. I'd prioritize readability more.
good kata to learn about rounding errors
could use some more whiles, elses and switches
brother
Why is this kyu 5? Feels like a 4 or even 3.
Yes. I can't pass the tests because two elements are in different positions in various tests.
what does - - do in that code
it's not.