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
)This comment is hidden because it contains spoiler information about the solution
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".
Should for empty input too
✘ Expected: 0, instead got: 0
Broken test!
I tried to replicate this test "Expected: You, Sort Already! hey me, instead got: Hey You, Sort Me Already!" with my own test, and work's good with my code.
Please, can check this?
I can't submit the code, I did the recommendations, but I don't Understand what happen with this.
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 :)
passed all test but..show the message " Correct! You may take your time to refactor/comment your solution. Submit when ready."