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.
So I have code that is doing a simular thing to other. Show the expected out and the instead got, appears to be the same. I believe it's because there's an extra new line at the end. However this only breaks when the size is an odd number. Works for checkerboard(8), but breaking on checkerboard(5). Not sure how to show anyone my code properly. Additionally, I've been researching how to remove the last occurance of a line break, but can't seem to find anything.
Used .trim() on my return statement, but that didn't work.
This comment is hidden because it contains spoiler information about the solution