Citi interview question

Very technical questions