Ad
  • Default User Avatar

    While I agree that some people are too soon to blame the kata while really the bugs in their code which are problematic (and reading those people's comments is VERY annoying), in other cases it is really the katas that should be blamed.

    The interpretation of this particular kata will be very different if the description states "Prepping for ALL PIZZAS must be done before ANY PIZZA can be put in the oven" (or "The chefs will start cooking the pizzas only after they have prepped ALL pizzas.") instead of "Prepping for a pizza must be done before it can be put in the oven".

    I don't know. Just a wild guess... Maybe in the world of the kata's creator, the kitchen does work that way, so the rules of the kata are set that way, and everyone else is forced to THINK MORE ABOUT IT because of that. (And of course the kata's creator is FREE to choose whatever rules he/she wants, just that there is also the responsibility to explain them.)

    Hope my comment doesn't offend anyone :P

  • Default User Avatar

    very good kata, thanks!

  • Default User Avatar

    Very interesting kata!
    Thanks!

  • Default User Avatar

    I am using python
    But indeed it is same for me, my solution is just fine for 1 or 2 levels, lol :D

  • Custom User Avatar

    Thanks for the feedback. I've asked the translator to fix this problem.(I guess that you are not using JS, right?)

  • Custom User Avatar

    No, didn't even check it: did we do the same kind of work to solve it?

  • Default User Avatar

    hahahhaa, did u just copy the code from the author?

  • Default User Avatar

    in the description, it says n > 2
    but in the random tests, n is sometimes 1 or 2, please fix it

  • Default User Avatar

    Ok, done. With a night of sleep in between, that's better. I'd though suggest some modifications to the description feel free to use them, part of them or not at all:

        John learns to play poker with his uncle. His uncle told him: _"Poker cards have to be sorted in accordance with the order of `"2 3 4 5 6 7 8 9 10 J Q K A"`. The same order should be used for each color."_. But his uncle did not tell him the order of the four colors.
            
        Given John's cards and Uncle's cards (two string `john` and `uncle`), sort John's cards correctly using as a reference to the order of Uncle's cards.
    

    Cheers

  • Custom User Avatar

    I have made a new fork of the kata, I made the variable 's' to stringVar.

    Generally @myjinxin2015 will get to it pretty quickly.

    Thank you

  • Custom User Avatar

    I will change this now, thank you for the comment

  • Default User Avatar

    for python, can you please don't use 's' as a variable in the test script?
    i defined my 's' string, and got overwritten by the 's' in the test script, it took me quite some time to find out what had gone wrong

  • Custom User Avatar
  • Custom User Avatar

    Voile, I'm sorry, my tone was out of line.

  • Custom User Avatar

    The tests are perfectly fine. If you don't understand, maybe... think more about it instead of blaming the kata?

    The kata has an easy solution that is also easy to reason about. It's not exactly easy to come up with, though.

  • Loading more items...