Fmars Blog
Inner happiness comes from self-sacrifice
My Blog List
[Leetcode Solution] Single Nubmer
Analysis
With XOR operator we can X xor Y xor Y = X
Perform XOR for all the elements will result into the single number
Code
No comments:
Post a Comment
Enter you comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Enter you comment