Math

Rectangles on a Chessboard

Difficulty
On an 8×8 chessboard viewed as a grid of lines, how many distinct axis-aligned rectangles (including all squares) can be formed?
Reported at 2 firmsMaven Securities · WintermuteI’ve seen this in an interviewI’ve seen this
Scratchpad