Range Sum Query - Immutable(LeetCode 303):

Problem