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.
C# Translation ready for review.
Tests don't verify cases when letters are reshuffled. E.g.
"word"
and"crow"
have only one replaced letter (d
vsc
) but other letters are reshuffled so answer should beFalse
. I wrote more blunt solution that doesn't check letter positions and it still passes.errrr... since when the element at "index 0" of a linked list is the last element of it...? :o
Aren't there any convention about this? I always remember the head as being equivalent to index 0 (cannot find quickly something meaningful on google, right now)