UST Interview Question

Java programming based on lists