Cognizant Interview Question

1.2nd max and 3rd max in the table