Citi interview question

programming background and situational problems