Question d’entretien chez Synopsys

Find 3rd smallest element in sorted 2-D array.