style: remove unused variables (#2946)

Co-authored-by: realstealthninja <68815218+realstealthninja@users.noreply.github.com>
This commit is contained in:
Piotr Idzik
2025-08-14 06:27:18 +02:00
committed by GitHub
parent 3f0409d7cc
commit d4962c3032
12 changed files with 11 additions and 15 deletions

View File

@@ -67,7 +67,6 @@ static void test() {
// Output: 22
// Explanation: Subarray 12, 8, -8, 9, -9, 10 gives the maximum sum, that is 22.
int n = 7; // size of the array
std::vector<int> arr = {8, -8, 9, -9, 10, -11, 12};
assert(dynamic_programming::maxCircularSum(arr) == 22); // this ensures that the algorithm works as expected