HSBC interview question

Questions on routines