Pergunta de entrevista da empresa UKG

The technical question was 2sum/3sum. Interviewer asked to explain answer from naive approach to optimized solution plus variations.