Array
3000. Maximum Area of Longest Diagonal Rectangle
Given dimensions, where each pair (l, w) gives a rectangle's sides. Find the rectangle with the longest diagonal; on ties, the one with the largest area. Return its area. Compare diagonals via their…
Loading…