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.
cool solution. I didn't think of using Array.from()
Using a and b as your parameters for both your merge array function and sort function might be confusing for novice coders
Fun kata! Nice work!
Really nice kata to figure out.
Great kata to figure out.
yup
You don't even need the -96 since specific score count doesn't matter just the highest.
Took me way longer than should have. The answer is REALLY simple, no previous knowledge on game theory is required, just analyze the examples.
i love how all of us have the same solution except the variety is on characters
(not like there was any other way to solve this god forsaken puzzle)
multiply 2 & add third => will never be max => explain: (a+b)c = ac+bc > ac+b
This comment is hidden because it contains spoiler information about the solution
This solution doesn't work well with a lot of float numbers: 12.2, 12.4, 12.6, 12.8
It is more compact, you don't want too long words when solving problems (that don't have long lines of codes tow write)
Am I alone who solved it with two Maps? :))
Its took me so long getting understand whats written here
It is bad practice. IndexOf iterates for each search. But could be creative.
Loading more items...