Capgemini Interview Question

program to find second largest no.from arraylist without using array.