KY TECHNOLOGIES interview question

basic programming question like second largest numbers, find target.