Citi interview question

Collection framework