Edward Jones Interview Question

leetcode problems include medium and hard