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.
Awesome feedback would also include a suggestion of what the kyu should be in your humble opinion.
This is too easy for 6 kyu
This comment is hidden because it contains spoiler information about the solution
i) your code doesnt run
ii) checking for divisors up to candidate^0.5 is sufficient do determine if it's a prime
iii) why print your result? return it!
iv) you don't have any testcases
v) happy coding
http://giyf.com
Untested specs is an issue
Using the same case in example, test case and validators is also an issue (intvites to hard-code answers).
So here comes my first suggestion: Hankuna matata!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Kind of tough for a 5 kyu (because of performance requirements). But fun!
Lol, ticket open, ticket closed :)
I disagree. The original was not ambiguous.
This seems inefficient as it continues creating and comparing rotations even if a missing rotation has already been identified.
No test pre-test-test-cases