Okta Interview Question

max sum of alternate numbers in an array.