Maximum Number of Points From Grid Queries

Maximum Number of Points From Grid Queries - Coding Problem | K5kC