Pergunta de entrevista da empresa Google

They gave me problems with partial sum, two pointer technique and some ad-hoc questions.