Java Practice Coding Problems Leetcode 15010 Z2p0310 Q200