Citi interview question

basic math and programming questions