Leetcode Same Code Differentiator Output