Pregunta de entrevista de GreyOrange

Maximum sum of array elements when two adjacent elements cannot be included in the sum