Ad
  • Custom User Avatar

    typo learnign to learning

  • Custom User Avatar

    You could then just have it return (-1, -1) in the case of no solution. It is atypical to have differnt output types.

  • Custom User Avatar

    the two returns should be of the same type.
    Currently:
    1 -> tuple
    2 -> string

    You should consider changing the output if there is no solution, perhaps (0, 0). This would let them both be tuples. Or you can return '__ chickens and __ cows' and 'No solutions'.

  • Custom User Avatar

    it's all fixed now...i think :)

  • Custom User Avatar

    I edited the test cases, let me know what you think. I'm going to mark as resolved. If I need to edit anything further, just let me know. :)

  • Custom User Avatar

    So, should it be removed? I was unclear what you were trying to say...let me know and I'll make changes appropriately. Thanks!

  • Custom User Avatar

    I made more edits to the explanation and added more test cases. I'm going to mark as resolved, if there's more to do, let me know. Thanks again!

  • Custom User Avatar

    It was hard to write an explanation without giving away the code. My first draft is similar to what is published now. The psuedo-code clears up the explanation, but gives away a ton. Let me know what you think of it now. Thanks for the feedback. I like the quality control on Codewars :)

  • Custom User Avatar

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

  • Custom User Avatar

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

  • Custom User Avatar

    Great suggestion!
    Update: Made the edit and republished.

  • Custom User Avatar

    Same here. I'm still slightly new to codewars, but when I see 7, I assume a one to 5 liner. This was not, hahaha. Good kata and thanks for replying! I just published my first one yesterday if you wanna check it out and give feedback.

  • Custom User Avatar

    I highly suggest this kata moves from 7kyu to 5kyu or 6kyu for alignment. Many people may look for simple solutions, since it is 7kyu. I think putting it in 5 or 6 will allow people to properly gauge the work.