DeCurtis interview question

java collections