LeetCode Solutions/Arrays 101/Find Numbers with Even Number of Digits/Find Numbers with Even Number of Digits.java
<reponame>DevashishPathrabe/LeetCode<gh_stars>0class Solution {
    public int findNumbers(int[] nums) {
        int count = 0;
        for (int digit : nums){
            int numberOfDigits = 0;
            while (digit > 0){
                digit = digit / 10;
                numberOfDigits += 1;
            }
            if (numberOfDigits % 2 == 0){
                count += 1;
            }
        }
        return count;
    }
}