LTM Limited Interview Question

DSA question 1: Two Sum