MediumData Structures
Binary Indexed Tree
Given an integer array nums, handle multiple queries of type: Update the value of an element in nums. Calculate the sum of the elements nums[0..i] for given i.
This is an Arena challenge - solutions are not shown publicly.
Work on this problem and submit your solution to contribute!