mirror of
https://github.com/arkorty/LeetCode.git
synced 2026-03-17 16:51:46 +00:00
Refactor almost everything
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
#include <algorithm>
|
||||
#include <vector>
|
||||
|
||||
class Solution {
|
||||
public:
|
||||
public:
|
||||
void merge(std::vector<int> &nums1, int m, std::vector<int> &nums2, int n) {
|
||||
for (int i = 0; i < n; ++i) {
|
||||
nums1[m + i] = nums2[i];
|
||||
|
||||
Reference in New Issue
Block a user