GreyOrange interview question

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