Citi Interview Question

basic math and programming questions