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.
This comment is hidden because it contains spoiler information about the solution
Test cases are unacceptable for a 3 kyu: this solution should not be able to pass
See this paragraph and this paragraph for explanation.
Code is passing tests but failing the Attempt. I didn't even know that was possible, and can't understand what's happening.
Seems to be the oldest thread here from ten years ago, but I don't see it resolved in the code.
Please correct me if I'm mistaken:
In the Haskell property test suite though there is
gen15 = choose (0, 16)
which generates polynomsx^16
as the range ofchoose
is inclusive.Same issue here
Dear Smileous,
The logic of your algorithm is quite right, it would generally work absolutely the same way as kanonical BWT, the difference is in the fact that canonical BWT should be expected to work not with letters of text, but with bytes and their values where character 'a' and 'A' are quite different letters having different ACII code values, while your algorithm implement some default C# comparison method with specific comparison logic.
In order for you to fix your code you shall try to adjust default for C# sort order and to ensure that texts are sorted based on ACII codes of relevant characters.
I assume that remark regarding sort order would be useful in KATA Description, but it is absolutely not mandatory, and would be not fare to consider it to be KATA issue.
Well, thank you for your feedback. It fills me with joy that even years after I created them, people still spend time completing them. Also, thanks to all the translators.
Very funny and interesting Kata! Thanks to author!!!
CyclicRef
is unneeded in JavaScript, no? I don't even think the translator's used it.Prolog translation
No, you're failing the second test in the
"error handling"
group:Not a kata issue.
JS - Fixed test error handling is broken when returning null
"abc" "x"
expected '' to equal null
Beautiful
Loading more items...