2503. Maximum Number of Points From Grid Queries - Explanation

Problem Link