Array
1295. Find Numbers with Even Number of Digits
Count how many numbers in the array have an even number of digits. Get each number's digit count and check its parity — cleanest via the length of its string form.
Loading…
Count how many numbers in the array have an even number of digits. Get each number's digit count and check its parity — cleanest via the length of its string form.
Loading…