Loading...

Cumulative Sum

A medium Python interview practice problem on DataDriven. Write and execute real python code with instant grading.

Domain
Python
Difficulty
medium

Problem

A financial pipeline computes a running total over a transaction column. Return a list where each element is the cumulative sum of all values up to and including that index.

Practice This Problem

Solve this Python problem with real code execution. DataDriven runs your Python code in a sandboxed Docker environment and grades it instantly.