-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Open
Description
Bug Report for https://neetcode.io/problems/range-sum-query-2d-immutable
The problem description references red, green, and blue rectangles in the examples, but there is no accompanying image showing those rectangles.
Example snippet from the description:
numMatrix.sumRegion(2, 1, 4, 3); // return 8 (i.e. sum of the red rectangle)
numMatrix.sumRegion(1, 1, 2, 2); // return 11 (i.e. sum of the green rectangle)
numMatrix.sumRegion(1, 2, 2, 4); // return 12 (i.e. sum of the blue rectangle)
No rectangles are shown for reference, which makes the example confusing.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels