Atlassian interview question

Most effective concrete to achieve List.contains(e) in Java, and why?