Find Numbers with Even Number of Digits Problem
Find Numbers with Even Number of Digits Problem — ExecCode School DSA Practice
Solve the Find Numbers with Even Number of Digits problem on ExecCode. Free online school DSA practice in Arrays - Basics. Write and run code in Java, C++, Python — no signup required to run.
Problem description
You are given a list of whole numbers. Your task is to solve Find Numbers with Even Number of Digits. Count how many numbers have an even number of digits, and print that count.
Examples
Input 5 12 345 2 6 7896; Output 2. Input 3 555 901 482; Output 0
Constraints
1 <= n <= 10^5
Practice Find Numbers with Even Number of Digits free on ExecCode. Browse DSA problems, topic map, and placement guides.