Available question text
Implement a class that stores an m×n integer matrix and supports assigning a given value to every cell in an axis-aligned subrectangle and retrieving the current value of a single cell. The core challenge is efficiently handling repeated rectangular range-assignments with point queries (range-update / point-query pattern), e.g., by applying updates directly or recording updates and resolving them on demand.
Related questions
Continue with questions that share topics or the same question type.
- Block Placement Queries
Coding · Array · Binary Indexed Tree · Binary Search
- Closest Equal Element Queries
Coding
- Closest Nodes Queries in a Binary Search Tree
Coding
- Cycle Length Queries in a Tree
Coding
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 1476. Subrectangle Queries
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source