diff --git a/C++/basic-calculator-iv.cpp b/C++/basic-calculator-iv.cpp index ffd6242a2..3efb56c63 100644 --- a/C++/basic-calculator-iv.cpp +++ b/C++/basic-calculator-iv.cpp @@ -92,7 +92,7 @@ class Poly { return !s.empty() && std::all_of(s.begin(), s.end(), ::isdigit); } - vector merge(const vector& arr1, const vector& arr2) const { + vector merge(const vector& arr1, const vector& arr2) const { // Time: O(d) vector result; int i = 0, j = 0; while (i < arr1.size() || j < arr2.size()) {