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.
CS:
I think the labeling in the error message is reversed for the following tests: RandomBig, RandomFull, RandomTestsAlmostEmpty, and RandomTestsManyShare
Example:
RandomTestsAlmostEmpty
Test Failed
Expected: null
But was: < 66, 16, 4, 55, 76, 55, 36, 5, 34, 1, 35, 57, 60, 86, 6, 12, 16, 66, 60, 26, 19, 84, 40, 66, 26, 43, 26, 60, 26, 66, 43, 23, 77, 26, 50, 23, 66, 60, 74, 88, 43, 23, 12, 38, 6, 60, 85, 43, 57, 60, 6, 38, 21, 32, 20, 50, 74, 50, 50, 16, 40, 6, 2, 79, 43, 6, 66, 83, 77, 79, 12, 66, 2, 66, 32, 43, 40, 50, 26, 79, 86, 57, 6, 21, 79, 12, 43, 36 >
approved by someone
These sorting algorthims are always so sophisticated to program.
Approved by 🧙
C# Translation
I agree with Johan on this one. The performance constraints are tedious. Also, when adding performance constraints you should at least have a section in the description describing those constraints.
You allow mutation of input to interfere with test cases.
Apparently 'groupBy' is supposed to keep the order of the input data. But with 'orderBy' entries with the same key should get a different order? That makes no sense in my opinion. What is the logic that 'scientific' must be before 'teacher'?
same. realistically a league wouldn't contain such large amount of teams
This comment is hidden because it contains spoiler information about the solution
Nice kata:)
When I Test my Code locally, it passes all Tests, but when i test it on Browser it just fails at test example3. I cant see any way how to debug the test and I cant understand any of the logs. Could you please correct this issue?
You have to return a list.
This comment is hidden because it contains spoiler information about the solution
Some of these tests are a little excessive. I am passing all the sample tests, but can't pass the final tests and can't compare because they're all too long to read and just say, "and x others"
Loading more items...