SevyDevy

DSA interview practice

DSA Practice Problems

Pick a problem, work through the algorithm, and use the editor to refine your answer.

01

Pick a problem to practise

02

Work through the approach

03

Move to the next one

Next recommended prompt

Cumulative Sum

The cumulative sum of an array at index i is defined as the sum of all elements of the array from index 0 to index i. Examples Initial Array: [1, 2, 3, 4] Cumulative Sum: [1, 3, 6,…

Easy
Ready
30 pts

Browse problems

61 of 61 problems shown