Skip to content

Commit a361a70

Browse files
committedJan 23, 2020
Add solution #4
1 parent e5fca2b commit a361a70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎solutions/0004-median-of-two-sorted-arrays.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ var findMedianSortedArrays = function(nums1, nums2) {
2121
const limit = Math.floor(total / 2) + 1;
2222
let i = 0, j = 0, prev, last
2323

24-
while(i + j < limit) {
24+
while (i + j < limit) {
2525
if (last !== undefined) {
2626
prev = last;
2727
}

0 commit comments

Comments
 (0)
Please sign in to comment.