diff --git a/solutions/find-indices-with-index-and-value-difference-i/solution.hpp b/solutions/find-indices-with-index-and-value-difference-i/solution.hpp index f162cc67..5c797d1a 100644 --- a/solutions/find-indices-with-index-and-value-difference-i/solution.hpp +++ b/solutions/find-indices-with-index-and-value-difference-i/solution.hpp @@ -5,7 +5,7 @@ class Solution { public: - static std::vector findIndices(std::vector &nums, + static std::vector findIndices(const std::vector &nums, int indexDifference, int valueDifference) { const int n = nums.size();