Skip to content

Commit 95c307f

Browse files
author
Joseph Luce
authored
Update 448_find_all_numbers_disappeared_in_an_array.md
1 parent e3e83fb commit 95c307f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

leetcode/easy/448_find_all_numbers_disappeared_in_an_array.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ Then we will iterate the list a second time and find all the numbers that were n
3737
```
3838
class Solution:
3939
def findDisappearedNumbers(self, nums: List[int]) -> List[int]:
40-
results = list()
4140
for n in nums:
4241
other_index = abs(n)-1
4342
nums[other_index] = -abs(nums[other_index])

0 commit comments

Comments
 (0)