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.
As was said, limiting the tape length wouldn't really change the difficulty at all, it would just slightly limit the range of solutions available.
Yep
Completely agree with you !!
This comment is hidden because it contains spoiler information about the solution
Fixed by Chrono79
I've fixed the arguments being flipped.
For the original issue, I've spent way more time than I had planned trying to see it it's an issue. I'm going to mark as resolved because I've tried different solutions from different languages and the accepted solutions can handle that test. Not agreeing with other implementation doesn't make this an issue.
According to the CW wiki, "Best Practices" are solutions that you would expect to see in production code. Maintainability and readability are favored over performance and elegance. Of course, in the real world, production code standards will vary. Regardless, this solution reads well, and would be easy to manage due to the granularity.
Okay no, there's a specifically laid out proper procedure for dealing with numbers. If you aren't using the proper procedure, it's bad code (difficult to maintain, change, understand, etc) as proven by people having difficulty getting test cases to work.
This comment is hidden because it contains spoiler information about the solution
That's your personal opinion;-)... For me, it's enough...
@smile67 Not a good enough reason for testing against string and double, string culture is a thing!
My feelings exactly.
The test cases are wrong for all even sizes > 2. You should use the above code just before you return the answer.
Presumably because of the comment describing how the pattern was derived
Resolved.
Loading more items...