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.
Reraised as issue
No random tests in Java
Thanks for the kata. Not to be too pedantic, but I'd suggest mentioning that the bounds are ordered and inclusive.
Thanks again.
While this can be done without using Strings at all, from looking at your code snippet I'd suggest you review your loop conditions.
Nothing is strinking any hint please
Haskell solution kumited and ready for take off.
Beware, a straight forward solution could have some server time problems ...
Kindly request te release it.
Suggestion #2 from Pyramidka included.
Demki's suggestion included as well.
Think of the solution where you don't have to use strings at all.
You have a number and you can use arithmetic operations to get its digits. That should be faster.
This comment is hidden because it contains spoiler information about the solution
Make sure you exit any loops initialized
As I am running the code I am getting timeout issue as code is taking longer than 12000ms .Can some suggest me how to optimize the code.Plese be fast
There's a couple.
Nice kata - if you like XOR katas, you can check mine -
https://www.codewars.com/kata/587510553793a30f640000ff
I'd suggest some random tests