Mphasis interview question

Questions on collections