Citi interview question

Technical questions on implementation etc