Count distinct squares of side K from N grid points
Filed under OLA
The question
Given N points on a grid and a side length K, count the different squares of side K that can be formed from the points.
No write-up yet. Related questions below have one.
Related OLA questions
Collected from public candidate posts and coding forums. Updated Nov 2026.