GGK Tech interview question

second largest element in the given array