← ALL NOTES
Array

3025. Find the Number of Ways to Place People I

Given points on a plane. A pair (A, B) is valid if A is upper-left and B is lower-right (A[0] ≤ B[0], A[1] ≥ B[1]) and the axis-aligned rectangle between them (including borders) contains no other…

Loading…