Citi interview question

Object oriented programming, Probability theory