CGI Interview Question

Asked: Converting ArrayList into Set, HashMap internal Working