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.
Good solution, after some time we can not distinguish between Java and Javascripts :)
This is the best clever solution period
Thanks I am also trying URL and getting the error. It should be mentioned that you can't use URL.
In the problem, I would add a point on removing trailing spaces.
Thanks @XRFXLP. When I get some time, I will solve it without collection.
Anyone solved using ArrayList. When I am attempting, I am getting timeout at the last number. I have used BigInteger arrayList.
** Update ** I am able to solve the issue by changing the type and the attempt is successful. But when I am not able to submit after successfult attempt, getting time out error.
Cleanest solution.
Of course, yes :)
Hi All,
I just joined the code wars few days back and it's awesome. I have two suggestions:
Thanks
This comment is hidden because it contains spoiler information about the solution
Very Neat solution!
Solution is concise but if thenumber is large, this code will not perform well.
One of the best Kata.
Good to see some javadocs.
I agree!
Loading more items...