Search
⌘K

Leetcode 1295. Find Numbers with Even Number of Digits

Count how many integers in an array have an even number of digits. Constraints are small (n ≤ 500, nums[i] ≤ 10^5), so a linear scan computing each number’s digit length suffices.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.