Welcome to the LeetCode World: Where logic meets elegance.
Practice this problem live on: LeetCode 307. Range Sum Query - Mutable