Edward Jones interview question

leetcode problems include medium and hard