Created
December 29, 2015 20:44
-
-
Save giogonzo/f29b155b68a4de9f67f8 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
(defn find-single "you know" [xs] (reduce bit-xor xs)) | |
;; example (find-single [1 2 5 5 2]) => 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment