Fidelity Investments interview question

Second largest number in an array. OOP principles.