You need to sign in or sign up before continuing.×
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
Very very easy compared to other C kata(s?) at 6 kyu. Fun though :)
Same problem here, passes example tests fine, then after submitting there are a load of errors with the final tests.
This comment is hidden because it contains spoiler information about the solution
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.
Good points, thanks for sorting them.
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.
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.
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.
Thanks, this was fun. Although might have suggested some test cases which break insecure regex, and also multiple comment markers on a line.
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. :)
This comment is hidden because it contains spoiler information about the solution