HSBC interview question

write some code related to your project.