From 7402e108661001dbc9e8bde93e0fecc538d5273e Mon Sep 17 00:00:00 2001 From: github-actions <${GITHUB_ACTOR}@users.noreply.github.com> Date: Wed, 14 Jul 2021 08:36:29 +0000 Subject: [PATCH] clang-format and clang-tidy fixes for 512b1887 --- backtracking/subarray_sum.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/backtracking/subarray_sum.cpp b/backtracking/subarray_sum.cpp index 97cb36552..bba4f8642 100644 --- a/backtracking/subarray_sum.cpp +++ b/backtracking/subarray_sum.cpp @@ -40,8 +40,9 @@ uint64_t subarray_sum(int64_t sum, const std::vector &in_arr) { int64_t nelement = in_arr.size(); int64_t count_of_subset = 0; int64_t current_sum = 0; - std::unordered_map sumarray; // to store the subarrays count - // frequency having some sum value + std::unordered_map + sumarray; // to store the subarrays count + // frequency having some sum value for (int64_t i = 0; i < nelement; i++) { current_sum += in_arr[i];