Arista Networks Interview Question

Q. Leetcode two sum problem