Ad
  • Custom User Avatar

    In Java version the method signature has String type as agument of garden, but it should be char type.

    Also there are random test cases which expect Dog return even though Crap scenario happens earlier in the input. It is not made clear in the description how to handle this case.

    Otherwise i really enjoyed this one :)

  • Custom User Avatar

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

  • Custom User Avatar
  • Custom User Avatar

    I got it wrong first time around in JavaScript with the message:
    -expected "Cr@p" to equal "Clean" with bags 5 cap 0-
    Which made me scratch my head a bit. Pressed one more time, and everything went green.
    Anyone else had that experience?

  • Custom User Avatar

    I gave up on solving this, and I'm trying to learn from submitted solutions instead.
    I like this solution, and this gave me a new way of moving towards a solution, so thank you for that.
    However when I tried this solution on the kata, it didn't work due to a memory-error. Has something changed in the requirements since submission - or is there some other problem?