Lightricks interview question

Most performant way to retrieve data from a list (any data structure)