Venturas Interview Question

java question for collections details