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.
There are no random tests.
The order of operation is entirely unspecified. For example, the author solution assumes that funding chance and getting funding is calculated before hiring/firing at the start of each month, which is illogical.
This is wrong: at 12th month the monthly bonus should be 9%.
The tests actually expect
burnrate
.This should doubtlessly be a translation on an existing kata ( at best ).
thanks for your feedback, I can see you have a keen eye for katas! I have seen you use the same response elsewhere so feel free to be more verbose so I can improve this kata to be more to your liking!
Cheers
no need to be mean about the random tests :P
I have written some (hopefully) more robust random tests if youd like to take a peek
issue not resolved: the current "random" tests aren't actually random: the dict uses always the very same structure.
Trivial map/filter/reduce is not a novel kata idea, and IIRC there're already several similar katas available.
This comment is hidden because it contains spoiler information about the solution
getting the joke isnt trivial :milk_carton:
EDIT:
A programmer goes out to get some dry cleaning. His wife told him, "While you're out, pick up some milk"
He never came home...
Nice kata!
Ah, thanks. I didn't realise that was part of the solution's criteria.
you are going down, right, up, right etc. so
[1, 4, 5, 2, 3, 6, 9, 8, 7]
is not a valid solution given the instructionsFor the
n = 3
example in the description:[ [1, 2, 3], [4, 5, 6], [7, 8, 9] ]
the following solution is given:
[1, 2, 3, 6, 9, 8, 5, 4, 7]
Why isn't
[1, 4, 5, 2, 3, 6, 9, 8, 7]
also a possible solution?This solution starts and ends with the same number as in the given solution and can be completed in one stroke.
Loading more items...