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.
Hi - I think you are solving a slightly different exercise: the description asks:
"You want to know if you're better than the average student in your class."
whereas currently you are calculating better than the best student.
(also small comment: your answer will always return
False
since, if the max of an array isM
then there will never be another element in the array that is greater thanM
)I'm assuming you're returning an integer instead of a string. A sum of empty list would be 0 and that in binary would be "0".
basically that means you've passed the kata and that message is giving you the option to remove any debugging code like console logs or temp variables or even to reduce the code if possible. but if you have nothing to change just click submit again. If this helps please resolve this issue :)