Design a Chainable Async DOM Rectangle API
Problem: Build a Chainable Async DOM Rectangle API
You are given an HTML page containing a 3 × 3 grid of rectangles. Every rectangle has a unique data-rect-id attribute, for example:
...
Example
Unlock to view complete problem details
and practice with sample input/output
Was this article helpful?
View Test Cases & Run Code requires membership
Standard Input
Execution Result:
