Pergunta de entrevista da empresa Capital One

Look for common integer in two stacks