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.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
re-raised as an issue
This comment is hidden because it contains spoiler information about the solution
how
(I know that the suggestion is 6 years old, but I want to add a small not-so-serious explanation for the kata task)
Actually, the procentual loss doesn't seem too far fetched. The loss could be because the evaporator is not sealed perfectly air-tight (alright, alright, then a "gas-container" would be a better example than an evaporator) and at day n we try to use it for the first time and want to know if there's still enough deodorant left to be worth it.
Alternatively, the total amount of gas in the evaporator could stay the same while just the ratio of deodorant to normal air decreases. This way, we use the same amount of gas every morning with an decreasing amount of actual deodorant, in which case, indeed, stinking greetz! :D
if (condition) return true; else return false;
can always be rewritten as
return (condition);
...and usually doesn't even require the parentheses around the condition.
perfect
This comment is hidden because it contains spoiler information about the solution
I know it was old but any chance I get to vent my hatred for ES5, I take it :D
That comment was from 2 years ago.
Also, it doesn't help that every single entry level programming site (e.g cough Codecademy and FCC) are all still teaching ES5 and treating ES5 as the norm. Even their linter is set to ES5 and will warn you for using ES6 features (e.g
=>
).Pre-ES6 JS is garbage though :x
Hi, it's not very clear.
I had to see the tests cases in order to finish the kata.
I didn't get any points :/
The 7th test isn't really useful.
I can't upvote this simply because of
evap_per_day
.Yes, it was the author of the kata that did it originally, but
evap_per_day =
is not something the author wrote.Needs a test for
Polynomial([1])
.My solution has a bug, but passes.
Loading more items...