Viasat Interview Question

Delete n’th largest/smallest number from array