Pergunta de entrevista da empresa WSP

A group problem about calculating no of blocks