Pergunta de entrevista da empresa CGI

Asked: Converting ArrayList into Set, HashMap internal Working