Reasoning

Squares of a Chessboard

Difficulty
How many squares are there on a chessboard? (Note that the answer is not 64!) Additionally, can you calculate the number of rectangles on a chessboard?
Reported at 3 firmsIMC Trading · Maven Securities · Jump TradingI’ve seen this in an interviewI’ve seen this
Scratchpad