Pergunta de entrevista da empresa EXL Service

How many squares and rectangles are in chess board