HSBC interview question

please read the interview process description