Skip to content

Commit 22764e6

Browse files
author
Dominik Schauer
committed
added solution for 448
1 parent c88788f commit 22764e6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
class Solution:
2+
def findDisappearedNumbers(self, nums: List[int]) -> List[int]:
3+
return set(range(1,len(nums)+1)) - set(nums)

0 commit comments

Comments
 (0)