Juniper Networks interview question

Two Sum problem using a programming language you're comfortable with