Skip to content

Commit 0fb9825

Browse files
committed
fix whitespace
1 parent 5b567ed commit 0fb9825

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

bit/find_missing_number.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
def find_missing_number(nums):
22
"""Returns the missing number from a sorted sequence of integers
33
in O(n) time and space.
4-
4+
55
>>> find_missing(i for i in range(-2000, 10000) if i != 1234)
66
1234
77
"""
@@ -18,4 +18,5 @@ def find_missing_number(nums):
1818
if num != 0:
1919
missing ^= num
2020
missing ^= i + 1
21+
2122
return missing

0 commit comments

Comments
 (0)