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.
What does it do?
I'm calling my method recursively and it throws "randomTests
expected: true, but was: false".
I suspect that some string like this is causing the problem, because for n*n dimensions my DFS approach works perfectly.
add this just at the beginning of your method:
System.out.println("------------");
... ;p(edit: assuming you don't call it recursively...)