Citi interview question

Some mathematical concepts