Bounding Rectangle of Points

Problem: Bounding Rectangle of Points

Given a list of 2D points (x, y), output the axis-aligned rectangle that covers all points in the following format:

min_x min_y width height

W...

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: