IBM Interview Question

Basic OOPS, Programming, Sorting etc