Modify and Query Range Sum in Segment Tree
Asked at Rakuten · Coding Questions · Difficulty: Medium
Design a class that supports these operations with time complexity O(log n) for both updates and queries.
Loading the problem…
Asked at Rakuten · Coding Questions · Difficulty: Medium
Design a class that supports these operations with time complexity O(log n) for both updates and queries.
Loading the problem…