Ad
  • Default User Avatar
  • Default User Avatar

    its pretty hard for 7kyu

  • Default User Avatar

    if you already done Moves in squared strings (III) this kata is pretty easy

  • Default User Avatar

    Nice Kata

  • Custom User Avatar

    Please review and approve Java Translation

    Note: author is inactive

  • Default User Avatar
  • Default User Avatar

    It's a question, not an issue. 15606 people passed the Python kata so I am sure there is no problem in the tests. Issues are for problems in the kata itself, not for problems in your code.

    Can I see the case where this fails so I can debug it?

    Print the input!

  • Custom User Avatar

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

  • Custom User Avatar

    Not sure what the issue is, but the solution input provides all of the solutions but isn't getting picked up for some reason.

  • Custom User Avatar

    Ok, I guess I can't understand the task. As I understand it, the results should be as follows:
    [SOUTH, EAST, SOUTH, SOUTH, EAST, NORTH, EAST, NORTH]=>[EAST,SOUTH,EAST,EAST].
    [NORTH, EAST, SOUTH, NORTH, SOUTH, SOUTH, SOUTH, NORTH, EAST, NORTH, NORTH, EAST, SOUTH, EAST, SOUTH]=>[EAST,EAST,EAST,EAST,SOUTH]
    [EAST, NORTH, EAST, SOUTH, NORTH, NORTH, SOUTH, EAST, SOUTH, SOUTH]=>[EAST,EAST,EAST,SOUTH]
    I missed "Write a function dirReduc which will take an array of strings and returns an array of strings with the needless directions removed (W<->E or S<->N side by side)."
    Sorry, "side by side" by google translator like: "Near", "in the same array".
    If there was such an example, I would understand the error right away

  • Default User Avatar

    Sorry, no errors in the tests. C# kata passed by 3131 people. If something was wrong don't you think that somebody else would already have seeen it?-)

    Please when posting an issue give the input, your output, the text message.

  • Default User Avatar

    Those error messages look good to me. Make sure you haven't misunderstood the task.

  • Custom User Avatar

    C# tests are wrong:
    test(7):
    input=[SOUTH, EAST, SOUTH, SOUTH, EAST, NORTH, EAST, NORTH]
    Test Failed
    Expected is <System.String[8]>, actual is <System.String[4]>.
    But 4 is right!
    test(10):
    input=[NORTH, EAST, SOUTH, NORTH, SOUTH, SOUTH, SOUTH, NORTH, EAST, NORTH, NORTH, EAST, SOUTH, EAST, SOUTH]
    Test Failed
    Expected is <System.String[11]>, actual is <System.String[5]>.
    test(8):
    input=[EAST, NORTH, EAST, SOUTH, NORTH, NORTH, SOUTH, EAST, SOUTH, SOUTH]
    Expected is <System.String[6]>, actual is <System.String[4]>

  • Default User Avatar

    Nice Kata if u catch the concept it's pretty easy

  • Default User Avatar

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

  • Loading more items...