Leetcode Version Compare Cell