Ad
  • Custom User Avatar

    There are no random tests.

  • Custom User Avatar

    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.

  • Custom User Avatar

    So at month=12 for a Startup where employees=10 the chance to get funded is computed by: 5% (base), 6% (monthly bonus), 15% (employee bonus) for a total of 26%

    This is wrong: at 12th month the monthly bonus should be 9%.

  • Custom User Avatar

    a burn_rate calculated by the rent of the location and salaries of the employees

    The tests actually expect burnrate.

  • Custom User Avatar

    This should doubtlessly be a translation on an existing kata ( at best ).

  • Default User Avatar

    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 :+1:

  • Default User Avatar

    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

  • Custom User Avatar

    issue not resolved: the current "random" tests aren't actually random: the dict uses always the very same structure.

  • Custom User Avatar

    Trivial map/filter/reduce is not a novel kata idea, and IIRC there're already several similar katas available.

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar

    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...

  • Custom User Avatar

    Nice kata!

  • Custom User Avatar

    Ah, thanks. I didn't realise that was part of the solution's criteria.

  • Default User Avatar

    Starting from left to right and then top to bottom we can grab the first corner! We then return on the inside of this corner to get the next one, and so on.

    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 instructions :wink:

  • Custom User Avatar

    For 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...