Question d’entretien chez OYO

Maximum sum such that no two elements are adjacent