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.
and non of the test cases gave me the answer which is absolutely wonderful.But after reading the comments yes it has to wrap around vertically except when there is the blank space
i think it's better to state explicitly whether it can wrap around vertically and horizontally cuz i find myself having to interpret the test cases to find the answer
does it have to wrap around vertically as well??
yes
yeah hahaha
Meh
To add to pawer13 explanation. When is a function not invertible?? Good luck my dudes