Minimum Common Value Leetcode Interview