Created
June 29, 2016 08:34
-
-
Save liondancer/84bd62ecc51eec874ef66b840accc013 to your computer and use it in GitHub Desktop.
This file contains 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 single_number2(arr): | |
return reduce(lambda x,y: x ^ y, arr) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment