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:
We will call the series seeded by a value of 1 the "base series"
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.
here are some ways of placing signs and brackets:
It doesn't say all ways. And you have an example where the solution is a + b + c too.
a + b + c
That's too bad!
Hello russia
Loading collection data...
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...