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.
solved it but when N gets over 28, it starts taking too much time and my code times out. I used dictionary lookups and stored diogonals inside as well as invalid squares stored as sets, idk how else i can optimize it though. whatevs, it was fun to poke around this one, thx!