Pregunta de entrevista de Adobe

Complexity for selecting an item from an array