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
This comment is hidden because it contains spoiler information about the solution
There are alot of solutions for this that I don't think are correct (including mine) rather just lucky to beat the random tests. I tried to go for a more "correct" timing-one but could not get it to work. So I started looking for patterns. But since I can't seem to print the numbers before it times out during the random tests my information is incomplete. Just thougt I'd mention that the tests can be waited out until you get "good" random numbers. That being said I'm working on a second solution :)
Would be good if we were able to tell for which languages we have completed katas. Now all we have is a check mark. If I'm playing around in multiple languages it's a bit hard to know. Perhaps simplest would be to change the color of the language icons to green for completed languages when viewing katas (and maybe yellow for started/un-finished ones).
Thanks. I think I have learned something today :)
Wow, people actually look at these things :) Thanks for the feedback though.
Ok, so what I did is essentially just:
...
Array.Reverse(arr);
return arr;
..
Which would also reverse the array used in the call to FixTheMeerkat()?
So assuming a call like: saArraySorted = FixTheMeerkat(saArrayOriginal);
would result in saArraySorted & saArrayOriginal both being sorted?
So for arrays it's like calling something with a ref like DoStuff(ref sValue) but the "ref" is implied?
Test case gave me an error. Removing ".pName" in getNamesTestExample() sorted that out. Also the description could be cleaned up slightly (you are mixing fname and First Name).