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.
This comment is hidden because it contains spoiler information about the solution
You are correct. My bad. I got on my high horse for nothing. :-/
But it doesnt say use recursion in a programming sense. It says Digital Root is a recursive sum mathematically (its also iterative). You dont have to use recursion to work it out though...
Saying that I like your solution its nice and easy to read.
In C#, int[,] is a 2D array, whereas int[][] is a jagged array (array of arrays). The operation and syntax for these two are different and they are not interchangeable.
The description names the input as a 2D array but in the code it is a jagged array. Either the description or the method header and tests should be changed.
I got home from work and can see it fine. So it was something with my protocol there. Thanks.
Some content blocking policies for
http
content onhttps
pages?Image is alive, must be some issue on your side. Try this link instead.
This comment is hidden because it contains spoiler information about the solution
You people who solved this without recursion didn't read the directions :-).