← ALL NOTES
Array

3453. Separate Squares I

Given axis-aligned squares [x, y, l]. Find the minimum horizontal line y=t that splits the total square area in half (area below the line = area above).

Loading…