Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
This comment is hidden because it contains spoiler information about the solution
I'm so fucking stupid, True if / else False wasn't even necessary.
Yea, me too
This comment is hidden because it contains spoiler information about the solution
I learned something new with this kata. Thank you
Yes, you are right, but don't forget there is a limit to the number of wires available to plug into the plugboard too.
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?