Audible interview question

Defining a function to solve an array related questions.