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.
I still didn't get it. Half kids will get maximum wish. Half kids will get minimum wish. And we need to output the least gifts Santa gives.
In the example, it seems like 2 kids are given maximum and 4 kids are given minimum. That isn't half and half.
This comment is hidden because it contains spoiler information about the solution
I began working in Python. All tests passed except the final set of "Random" (or "Big" I think) tests (10^9 <= w,l,h < 10^10)
Same exact solution was used in Javascript it worked correctly for all tests. Might need to take a look at validity of those tests for Python
This comment is hidden because it contains spoiler information about the solution
In the first for loop, use 'numbers[i]' not 'i'
i.e. map.containsKey(numbers[i])
map.put(numbers[i], 1)
map.get(numbers[i])