Skip to content

Commit 247475b

Browse files
authored
Update Solution.py
1 parent 4071db1 commit 247475b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Algorithms/Hard/4_MedianOfTwoSortedArrays/Solution.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ def findMedianSortedArrays(self, nums1: List[int], nums2: List[int]) -> float:
99
return nums3[(len(nums3) // 2)]
1010
else:
1111
return (
12-
nums3[(len(nums3) // 2)-1] +
12+
nums3[(len(nums3) // 2) - 1] +
1313
nums3[(len(nums3) // 2)]
1414
) / 2

0 commit comments

Comments
 (0)