Reported in a candidate post, Jan 2021
Squares in n*n grid
Filed under TCS
The question
Find how many squares are there in a 4x4 grid and derive a general formula for an n*n grid.
No write-up yet. Related questions below have one.
Related TCS questions
Collected from public candidate posts and coding forums. Updated Nov 2026.