Skip to content
RED SAG Skills
easyStudy question · answer published in Data Structures and Algorithms interview questions, so no pointsarraysprefix-sumstime-complexity

Cost of prefix sum queries

You build a prefix sum array for n values and then answer q range-sum queries. What is the total cost?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions