Amazon interview question

2sum, array related LC easy for OA