Caterpillar Interview Question

I was asked to write code to find the 3rd largest value in a list.