Ad
  • Default User Avatar
  • Default User Avatar

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

  • Default User Avatar

    I learned something new with this kata. Thank you

  • Default User Avatar

    I may be wrong but for the provided larger test case, partial wire definition (ie: ABC) should raise exception, not returning unpaired letter? Below is the given test case which asks "Should not have accepted a partial wire definition"
    Not enough wire ends defined
    ABCDEFGHIJKLMNOPQ
    So in short, Plugboard should only accept pairs. Only when I process a letter not included in plug board, then I should return the same letter?