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.
Expected: equal to 21
Actual: [unsupported type]
This comment is hidden because it contains spoiler information about the solution
typo?
There are no random tests.
This comment is hidden because it contains spoiler information about the solution
First, counting frequency of a list of things is an overused idea with many duplicate, e.g this, which means the kata's most probably not be approved.
Second, the
giant size tests
in the real tests are doing nothing. It's not demanding on the performance at all (especially since author solution is alsoO(n^2)
). So why does it exist in the first place?Expected and Actual values are swapped in the assert messages.
No random tests.