Skip to content

Commit ff5e66e

Browse files
Time: 47 ms (31.34%) | Memory: 16.4 MB (42.98%) - LeetSync
1 parent bcb186f commit ff5e66e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

2107-find-unique-binary-string/find-unique-binary-string.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def getint(s):
99
return num
1010

1111
n = len(nums)
12-
vals = [getint(i) for i in nums]
12+
vals = set([getint(i) for i in nums])
1313

1414
for i in range(n+3):
1515
if i not in vals:

0 commit comments

Comments
 (0)