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.
Oh great! I must have been getting a bit confused/over complicating it. It makes sense now! thanks
This comment is hidden because it contains spoiler information about the solution
Thanks for responding! I would probably add in a note about that as I normally do so from left to right.
If that is the case, that changes it quite a bit! thank you!
I think I am a bit confused by the test codes. The first one especially I am not sure it should be 5... shouldn't it be 3?
Test.assertEquals(findDigit(5673, 4), 5);
Test.assertEquals(findDigit(129, 2), 2);
Test.assertEquals(findDigit(-2825, 3), 8);