Problems > Points in the Box > Editorial

Points in the Box — Solution & Editorial

Back to the Problem

Test both coordinate ranges per point.

Complexity: O(N)