Created
May 22, 2020 20:29
-
-
Save venelrene/3c556c30d593e0ee598c81790242701c to your computer and use it in GitHub Desktop.
In this Kata, you will be given two strings a and b and your task will be to return the characters that are not common in the two strings.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def solve(a,b) | |
a.delete(b) + b.delete(a) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment