Adobe interview question

Complexity for selecting an item from an array