HSBC Interview Question

Hands on coding