Minimum Common Value Leetcode Contest Rank