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 one was tricky for sure (tricky for me because i'm brand new to c#), but I managed to solve it in c#. I don't know how "correct" my code is, but I passed all the tests. What's strange is that I tested my code in rextester.com and whenever I tried to pass an array to UniqueInOrder, it kept failing at compilation. Ex:
UniqueInOrder([1,2,2,3,3])
I'm a novice programmer relatively speaking, but I've been here long enough to see that a lot of katas have legitimate issues. This one might be one of them? It'll be interesting to see what a (1 kyu) person says. Surprised nobody has responded to you yet.In C# it makes no sense because the function returns an IEnumerable but for some reason the test case expects a string. If the input parameter is an int array it will not work.