Minimum Common Value Leetcode Two Pointers