Cognizant Interview Question

A program about sorting in Java