Frage im Vorstellungsgespräch bei Hudson's Bay Company

Solve the "two Sum" problem using Javascript