Range Sum Queries

Company: Arcesium

Difficulty: medium