Expedia Group Interview Question

2 sum, replace linked list