Stripe Interview Question

Iterate through an array and based off the information in the array be able to tell something (really not complicated, basically an array of numbers -> kind of like the lightbulb question)