Visa Inc. Interview Question

Two sum leetcode and an API question