Konrad Group Interview Question

two sum leet code question