Juniper Networks Interview Question

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