Return the sum of all integers in `nums`. Variant **#11** focuses on clean iteration without built-in shortcuts.
Example 1
Input: nums = [11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]
Output: 270
Constraints
Acceptance: 73% · Topics: array, math
← All practice problems