HSBC interview question

Interactive assignments with different situations.