Expedia Group Interview Question

Code up the two-sum problem