Amazon Interview Question

2sum, array related LC easy for OA