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.
I just joined the code wars few days back and it's awesome. I have two suggestions:
Provide a total execution time for test cases or during attempt after every program, that will help us to make more concise.
Show other language solutions. I know Java, JS and Python but I always use Java as I am more proficient on it. If we have an option to see other lang solution it will give us ideas on other languages as well.
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...