Leetcode Same Code Differentiated