Skip to content

Commit 04f211a

Browse files
committed
bits 136
1 parent 50b3c11 commit 04f211a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

go/bit/136/136.只出现一次的数字.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
package jzoffer
6060

6161
// @lc code=start
62+
// 两个一样的数异或为0,0与任何数异或为任何数
6263
func singleNumber(nums []int) int {
6364
single := 0
6465
for _, num := range nums {

0 commit comments

Comments
 (0)