Pergunta de entrevista da empresa Capital One

Find two integers in an array whose sum are zero. Optimize the code. Design a banking system.