Pergunta de entrevista da empresa TodayTix

Asked to explain two-pointers solution for a problem