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.
I did read this, and it says an array of subarrays or of tuples or a string
It doesn't say that you can only return a string, and when I tried to return an array of tuples, it results in errors like this one with the tests:
Test Failed
Expected is <System.String>, actual is <System.ValueTuple`2[System.Int64,System.Int64][3]>
Values differ at index [0]
Expected: '['
But was: (1, 1)
It expects a string in the specific format shown in the tests and returning an array of tuples as the description specifies as an option doesn't work
In C#, although the kata's description says that you can return an array of tuples/subarrays, you can only return a string and need to manually format it to look like the one in the example.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution