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.
Quite interesting kata.
Good Kata, like
because brute force is the only solution
Approved!
python new testframework
Thanks for the kata, very good to practice various concepts.
I cannot get pass the random tests, no matter how I order the results or sort them by some matter the test never passes
approved by someone (not us)
Description markdown is broken when Java is selected.
Scala translation
Modifies description since I wasn't about to try and get your Python brain function signature to type check nicely. Please don't use weird non-homogenous collections, it causes pain to the people in strictly typed languages.
duplicate report
your issue report is unclear. this behavior is normal and is the same across most languages on Codewars: the fixed and random tests are each in their own tests group / it block and are run separately.
Well, you are literally failing the second example of description. It would help if you printed the input to console (add
print(arr)
at start). This way you could reason about each failing test case.I believe that this kata has test issues as my code passes all but three tests, I might be wrong and my code might just be incorrect but I've checked it several times with a lot of arrays, so I believe it to be correct...
Done.
Loading more items...