A utility calculates the sum of numbers for each sub-array row in a 2D matrix, but subsequent rows report inflated totals.
Topics:State / MutationLoops
solution.js
JavaScript (Isolated Web Worker)1
2
3
4
5
6
7
8
9
10
11
Click "Run Tests" to execute your code against 3 deterministic test cases.
Execution runs safely in an isolated client-side Web Worker sandbox.