KY TECHNOLOGIES Interview Question

basic programming question like second largest numbers, find target.