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.
I'll have to take a look, I'm roughly familiar with the languages, but not as much as with C#.
The same generator constructs also exists in Python and JS I think :)
That's the plan. Unfortunately I didn't see the 7x7 in c#, so I'm going to have to do some translating. my solution relies on ienumerables and yeilding so I've got to be choosy with the language I pick.
You can try the 7x7, to see if it's efficient too. ;)
Ohoho, how right you were.
This was a FANTASTIC kata, sir.
My solution also worked for any NxN grid, including your 6x6.
GREAT stuff here.
There is only 1 solution possible, really! :)
If you refer here to the given example: the second row has a hint on the right side (2). Second row can, as a consequence only be 3-4-1-2. With 3-4-2-1 there would be 3 skyscrapers visible from the right side.
This comment is hidden because it contains spoiler information about the solution
Five random test cases have been added. Thanks!
In the plans. Only got a chance to write the skeleton earlier :D
Needs random tests :)