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
.
.
.
I've got it, but it's timing out after 80 test cases, which is fair enough, but one of the first test cases has no valid 4-queen solution (c3).
I test-drove it.. forgot to make it a one-liner! hah.
I've basically sorted it, but random tests are saying: Expected "", instead got: [my_solution_here]..
is this normal? Having an empty string expectation even with input?
Edit: it actually gives me a (Test::Error) message.. is that on me or the kata?
didn't get any points... annoying.
Had to look at the answer as I had absolutely no idea where to go from 'unravelling' the spiral..
does anyone have any resources to understand this concept algorithmically?
I obviously missed the ".permutation" memo...
fav
This comment is hidden because it contains spoiler information about the solution