Ad
  • Default User Avatar

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

  • Default User Avatar

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

  • Default User Avatar

    Very very easy compared to other C kata(s?) at 6 kyu. Fun though :)

  • Default User Avatar

    Same problem here, passes example tests fine, then after submitting there are a load of errors with the final tests.

  • Default User Avatar

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

  • Default User Avatar

    Yea I did find the error messages a bit naff, but I couldn't find any docs for php test cases, so ended up just copying and pasting from another kata, then adapting them.

    I've updated the test cases based on the details you've provided, so errors should be more descriptive now.

  • Default User Avatar

    Good points, thanks for sorting them.

  • Default User Avatar

    Nice, in C though I took me a while to figure out what I was supposed to be returning xD. It's probably just because I'm not used to C, but when I see a pointer to something I get the impression that you alter it in place, then return a count or response code or something. Although I don't know any other way you can pass an array around in C so I guess I'd better get used to it.

  • Default User Avatar

    Finally finished this (just about). It's a good challenge, although I think I spent more time trying to figure out what it meant by how it needed to be sorted than actually doing the challenge.

  • Default User Avatar

    I thought it was good. To be honest, not knowing the algorithm, I just made it up and didn't find it too hard at all compared to similar kata at this grade.

  • Default User Avatar

    Thanks, this was fun. Although might have suggested some test cases which break insecure regex, and also multiple comment markers on a line.

  • Default User Avatar

    Nice Kata. Sounds simple, but needs a bit of thought after JS's built in number classes can't handle the big stuff like you need. :)

  • Default User Avatar

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