Capgemini interview question

1. Find the 2nd largest element in an array