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.
Replace your sample tests with this:
And do what the last 4 test cases are telling you.
If it doesn't work here, it doesn't work at all. Your code is wrong.
Hi @Jarch24. Unfortunately there are many problems with your translation.
PascalCase
).Assert.AreEqual
, arguments should be(expected, actual)
, but you have them passed in as(actual, expected)
.Happened to me too.
Took me a long time but I ended up realizing my code still wasn't efficient enough and fixed it.
Yep, this Kata sucks. I tried 3 different approaches locally and works fine while here I constantly gets timeouts.
@Jarch24, in the meantime, please check your code. There have been 29 completions in C# and no issue reported regarding out of bounds.
I'm not familiar with C#, but I've asked the translator to respond to this.