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.
Great Kata. Even if you don't know much math it's pretty simple to solve. Just shake your brain a bit...
This comment is hidden because it contains spoiler information about the solution
I think my brain just committed suicide
I never thought that this level of intelligence is possible!
This comment is hidden because it contains spoiler information about the solution
The expected outcome of all random tests is the last element of the list. That was not the case for basic tests.
Some of the results:
[54, 8, 8, 28, 74, 9, 73, 19, 24, 18, 60, 30, 42, 39, 17, 45, 67, 87, 77, 80, 83, 42, 60, 44, 96, 13, 66, 94, 70, 31, 20, 50, 18, 40, 70, 42, 18, 34, 23, 97, 40, 76, 101, 34, 102, 65, 40, 78, 11, 23, 67, 34, 25, 55, 43, 27, 33, 35, 54, 50, 77]
[102, 78, 77] should equal [77]
[35, 38, 44, 93, 103, 76, 47, 46, 65, 36, 57, 103, 88, 56, 23, 16, 26]
[103, 88, 56, 26] should equal [26]
[49, 62, 73, 20, 97, 15, 84, 24, 72, 53, 105, 92, 78, 74, 13, 37, 78, 66, 54, 41, 27, 49, 17, 51]
[105, 92, 78, 66, 54, 51] should equal [51]
please fix
I spent an entire day trying to figure this kata out just because I failed to notice that the number of asterisks on each line was odd.