Pergunta de entrevista da empresa Dell Technologies

How to get an object from an Arraylist if we have 1 lakh objects?