Return the sum of all integers in `nums`. Variant **#5** focuses on clean iteration without built-in shortcuts.
Example 1
Input: nums = [5,6,7,8,9,10,11,12,13]
Output: 81
Constraints
Acceptance: 67% · Topics: array, math
← All practice problems