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.
NATO dictionary already exists.
If you are interested to look at another approach - this is my sloution:
https://www.codewars.com/kata/reviews/5a47b7e1ae23886317000109/groups/5e2f0f63191cfe000172f33a
It uses backtracking technique - i am guesing about next value (0 or 1) for each cell, and if the col and row correct - move to next cell recursively.
But, it is still not efficent enought to deal with 15x15 kata)
Definitely not the prettiest or most efficient code I've ever produced. I should have done some research into tested and documented approaches to the problem. Limitations of my approach showed up rather quickly when I tried to adapt this to the 15x15 nonograms.
Oh my god.
#persevere
return value in a
should be ehough.
Great solution!