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.
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.
Throws "System.ArgumentNullException" when "a" is "null". It's worth adding "a != null"
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Not a kata issue. See the list of forbidden chars,
/
,*
,0
and1
are in your code, they count even as a comment.I don't know if it was just me but something was wrong.
The kata is good nonetheless but the issue is Value error.
my code was the same as everyone and contained other code examples in comment.
My code outputted 5 but Value error when there was none.
I went ahead on other sites with the same problem and they worked.
Just a heads up.
This was very fun. I've coded a one-liner solution which I thought was very clever, but as I checked other's codes,,, just wow. Mine was garbage
haha it was fun
oh sorry
Don't spoil the solutions please. I marked your message with the spoiler flag.
This comment is hidden because it contains spoiler information about the solution
That was awesome. Definitely in the top 5 ;)