Display Sort
You are given a set of rectangular documents displayed on a 2D canvas. Each document has a unique ID and the following fields:
Document {
int id;
int x;
int y;
int width;
int height...
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:
