Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 289 Bytes

File metadata and controls

17 lines (11 loc) · 289 Bytes

Running Sum

Objectives

  1. Given a list of integers, return the running sum of each element this way:
input -> [1, 5, 1, 3]
output -> [1, 6, 7, 10]
  1. What is the time complexity?
  2. What is the space complexity?

Solution

Click here to view the solution