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.
why is essay?
so?
No, you are not stupid. Just use the provided examples/tests and reread the rules & explanation. At first glance it does seem a bit unclear.
Kata description says:
count the number of 1s in the array. Let this count be n. The Stanton measure is the number of times that n appears in the array.
Just try to understand this :)
in Simple english - whatever the occurnce of 1 come in array will be x and then find that occurnce of x in array
Me too. But the tests are passing
exactly 😉
It looks to me like they were intentionally using this as an opportunity to work on design patterns
Your code is too slow.
he's actually talking about this: KISS... x)
don't speak like that with others. yours also can be even simpler.
Probably you have an infinite loop, this kata doesn't seem to have high performance requirements.
It doesn't say all ways. And you have an example where the solution is
a + b + c
too.That's too bad!
Hello russia
Loading more items...