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.
a < b
is the same asb > a
.Also, map is faster than inject, so I agree that it's not the best solution.
Fixed
you don't need to downcase it
stop, but what about - "Your points are not included in the array of your classes points. For calculating the average point you may add your point to the given array!"?
only if the possible points can be a float or the boundary is changed to be inclusive
Don't you need to make the average a float?
Thanks! And good catch :)
A simple sub() would be fine since there's only one '-'. Other than that it's quite good
As others have said, test cases are broken.