Leetcode Check If Number Has Equal Digit Count And Write