Skip to content

Commit c6d8760

Browse files
committed
Runtime: 953 ms (Top 29.31%) | Memory: 14.3 MB (Top 52.22%)
1 parent 02821b4 commit c6d8760

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

scripts/algorithms/F/Find the Difference of Two Arrays/Find the Difference of Two Arrays.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Runtime: 953 ms (Top 29.31%) | Memory: 14.3 MB (Top 52.22%)
12
class Solution(object):
23
def findDifference(self, nums1, nums2):
34
"""
@@ -14,6 +15,6 @@ def findDifference(self, nums1, nums2):
1415
if nums2[i] not in nums1:
1516
b.append(nums2[i])
1617

17-
c = [list(set(a))] + [list(set(b))]
18+
c = [list(set(a))] + [list(set(b))]
1819

19-
return c
20+
return c

0 commit comments

Comments
 (0)