Bounding Rectangle of Points

Asked at Upstart · Coding Questions · Difficulty: Easy

Given a list of 2D points `(x, y)`, output the axis-aligned rectangle that covers all points as `min_x min_y width height`, where:

Loading the problem…