Minimum Common Value Leetcode Solution Python Github Code