Pergunta de entrevista da empresa Google

Reverse a linked list. Given an array, find the two elements that sum up to a specific target.