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.
Still waiting for your answer so I can understand what needs to be clarified. And no, I'm not going to give away the answer in the kata's description. It's not a complex problem, as it is, it's perfectly solvable using a few built-ins if you know your math or you can go with an iterative solution. If you don't like math katas, you can always skip them, nobody forces you to do them.
Most complains about description don't explain what they wrongly thought, so it's hard to understand their problem with it.
Knowing what to do and how to do it are two different things. There are some katas that teach you something from scratch and some that test what you already know. This one is one of the latter.
@TheChampionofValor This is a warning, do not abuse the report system any further, and stop threatening people.
wow, I just tried to share, and now I have a sad :(
I just re-read the description, and for sure the author absolutely described exactly what they were looking for, and in a succinct and clear way.
Added the definition of a square number to the description (even if it is primary school knowledge). That's enough clarification IMO. Coming up with a solution to the kata is the warrior's job.
Please, tell me what did you think it was the kata was asking instead.
you are misled. at the top of the page, you can clearly see that 91% of users gave a positive rating out of 2,457 voters; whereas if you sort katas by lowest satisfaction you can see some with around 40% or 50%.
that's not the Codewars' philosophy. besides, a search engine or an AI shouldquickly give away the solution.
made me realize this kata is overworded
Hint to solvers != kata suggestion
hello, i'm sorry but the purpose of
suggestion
s is not to give hints to other users, but to suggest changes to improve a kata, such as refactoring the tests' code, a new language translation, a better wording of the description, etc. You cannot give hints to other solvers as it would spoil the kata for them.Agree. Unfortunately Codewars is not a curriculum-based platform, but rather a training platform for amatuer coding skills.
$O(n^2)$
is too slow, the solution should be$O(n)$
.I don't understand the description but passed this kata.
kata hint != kata suggestion
kata hint != kata suggestion
Loading more items...