Minimum Common Value Leetcode Solutions