- Because question requires L, D as close as possible, I start the finding from the middle point which is sqrt(area).
- when the Area divide Width have remainder 0, it should be the solution

```
vector<int> constructRectangle(int area) {
for(int mid = sqrt(area); mid>0; mid--)
if (!(area%mid))
return {area/mid, mid};
}
```