Browse Source

Update solution

master
Lachlan Jacob 5 years ago
parent
commit
db5588b2e6
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      problems/88/main.cpp

+ 1
- 2
problems/88/main.cpp View File

@@ -3,7 +3,6 @@
#include <algorithm>

void merge(std::vector<int>& nums1, int m, std::vector<int>& nums2, int n) {
int total = m + n;
while (n > 0) {
nums1[m++] = nums2[--n];
}
@@ -21,4 +20,4 @@ int main() {
}
std::cout << " ]" << std::endl;
return 0;
}
}

Loading…
Cancel
Save