Question d’entretien chez Matrix ComSec

I was asked to write code to find second largest element from an array without using STL and inbuilt functions