Airwallex Interview Question

A very Simple coding questions