Ad
  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    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 :)

  • Custom User Avatar

    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).

  • Custom User Avatar

    Thanks. I think I have learned something today :)

  • Custom User Avatar

    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?

  • Custom User Avatar

    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).