Question DSA-ARR-0037
EasyWhat is the prefix-sum array of [2, 4, 1, 3]?
- A.
[10, 8, 4, 3]
- B.
[2, 4, 1, 3]
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Arrays question
What is the prefix-sum array of [2, 4, 1, 3]?
[10, 8, 4, 3]
[2, 4, 1, 3]
Sign up free to see the answer and a step-by-step explanation.
[2, 6, 7, 10]
[2, 8, 8, 24]