Problem Description

Task: given array, compute running total array where res[i]=sum upto i.

Input Format

Java method

Output Format

Return value

Constraints

Use one extra variable for sum.

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next