Citi interview question

Machine learning question, OOP programming, basic statistical question