HSBC interview question

coding round questions, on Projects