Question d’entretien chez IBM

Pascal's triangle and chess board question