Minimum Common Value Leetcode Solution Python Github