Skip to content

Commit 379775e

Browse files
committed
Update 268-missing_number.py
1 parent 4181ff2 commit 379775e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: 268-missing_number.py

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
Memory Usage: 13.7 MB, less than 5.26% of Python online submissions for Missing Number.
1010
1111
More interesting solution: https://leetcode.com/problems/missing-number/discuss/69891/1-line-Python-Solution
12+
it uses sum(range( ... ))
1213
"""
1314

1415
class Solution(object):

0 commit comments

Comments
 (0)