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.
Please read the
issue
posted above. Understanding the flaw, you can re-write and re-submit your code.Best of luck!
Python (at least):
Random Tests are not guaranteed to fail a faulty solution such as this one that fails to account for upper / lowercase counting as the same char, as shown the 3 test cases below.
This comment is hidden because it contains spoiler information about the solution
it's not a completely ridiculous solution though.
Both open and hidden tests are way to limited but otherwise a pretty fun kata.
According to the creator of this kata:
i did this and worked
I'm getting the same error, but the code works fine for every other test
OP left the building, translations will come eventually if the right person stumbles upon the right kata at the right time ^^, closing!
What's meen testUpcomingBigNumbers
It's last crash test, and i don't understand how will make correctly
Didnt know I can print in the results (:face:palm)
Printed and found the issue
thanks for the advice
Why don't you print the input of the test your code fails? If it says upcoming palindromic number, neither of them belong to it, all of those are interesting. Not a kata issue.
my code (Java 17) fail on test testUpcomingPalindrome with error: Should handle upcoming palindromic numbers expected:<1> but was:<2>
I ran my code on all intergers between > 99 and < 1B for any number which is upcoming palindromic and on those numbers I ran the check to see if they are intersting (omitting the palindrome check). I only got the following numbers:
100000000
99999999
999999999
99999
100000
10000000
9999999
which, as you can see, fulfills either the first rule for intersting or the second...
so I believe that there is an error
any ideas?
For me, a golang learner, great kata, thanks
No, it isn't. That's why the test is labeled odd characters. Try selecting that, it is a single char.
Loading more items...