BMO Financial Group Interview Question

two sum, fetch data from api