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.
Changing this will break all the solutions, and it's not really important here.
Appreciated, thanks :)
First point of the notes:
Edit: also, your github account has a repo featured with kata solutions - please remove it or make it private (in bitbucket is for free), as you are not meant to share them.
This comment is hidden because it contains spoiler information about the solution
It's meant to be very simple so I don't think there is any way to make this more interesting without changing the concept (i.e. using something besides math operations). You could make your own kata with a more intersting idea.
Glad you enjoyed. :)
Your Select-code didn't return anything... It was without effect.
Generally you are completely right: Changing a parameter is bad style. But in this kata it is part of the task, that is described .
A Select is not changing the Array/List, but it creates a new Enumerable. So you don't change anything.