A web developer needs to design a rectangular web page with a given target area.
The dimensions of the rectangle, length
The area of the rectangle must equal the given area (area).
The length must be greater than or equal to the width (
The difference between the length
Return an array [L, W] representing the optimal length and width of the rectangle.
Constraints:
area
A web developer needs to design a rectangular web page with a given target area.
The dimensions of the rectangle, length
The area of the rectangle must equal the given area (area).
The length must be greater than or equal to the width (
The difference between the length
Return an array [L, W] representing the optimal length and width of the rectangle.
Constraints:
area