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.
This comment is hidden because it contains spoiler information about the solution
That test I mentioned is from random tests, thanks for your time:) I was able to figure it out.
This comment is hidden because it contains spoiler information about the solution
Nice Solution! instead of n+1 we can use n/2 + 1 as n will have factors only upto n/2 excluding itself.
Thank you, it worked :)
Anybody who has solved this kata, can you help resolving my issue.
This comment is hidden because it contains spoiler information about the solution
Awesome solution!!
This comment is hidden because it contains spoiler information about the solution
Thank you :) I have re-written the entire code and it worked fine :)
My IDE is 2.7 version
This comment is hidden because it contains spoiler information about the solution
Hi, I am new to code wars, could anyone please guide me where to write a solution?