Deloitte interview question

Questions on collections in java