Pergunta de entrevista da empresa Verizon

How many squares could be there in a n*N dimension square