Practice Find Numbers with Even Number of Digits
Read the task, work through the examples, and check your approach against the constraints. Use the original LeetCode task for coding and submissions.
Problem Statement
Given an array nums of integers, return how many of them contain an even number of digits.
Source: Find Numbers with Even Number of Digits on LeetCode. Use the original task for its coding environment and submissions.
Examples
# Example 1
Input
nums = [12,345,2,6,7896]
Output
2
# Example 2
Input
nums = [555,901,482,1771]
Output
1
Constraints
1 <= nums.length <= 500
1 <= nums[i] <= 10^5
Related LeetCode Problems
Practice more problems similar to Find Numbers with Even Number of Digits.
Review your practice with PhantomCodeAI
After trying the problem yourself, use the app to discuss your approach, complexity, and edge cases.