You are given a coords where coords[i] = [x_i, y_i] represents a point on a
Find the maximum value of coords such that at least one of its sides is parallel to the x axis or the y axis.
Return this maximum value, or
Constraints:
coords.length
coords[i][0], coords[i][1]
All coords[i] are unique.
You are given a coords where coords[i] = [x_i, y_i] represents a point on a
Find the maximum value of coords such that at least one of its sides is parallel to the x axis or the y axis.
Return this maximum value, or
Constraints:
coords.length
coords[i][0], coords[i][1]
All coords[i] are unique.