Back to problems

Count Numbers with an Even Number of Digits

Algorithm · ByteDance · Medium

Find Numbers with Even Number of Digits Easy · Topics · Company Tags · Hints You are given an array numbers consisting of positive integers. Determine how many of its elements contain an even number of decimal digits. Input Format The first line contains a single integer n, representing the size of the array. The second line contains n space-separated positive integers, forming the array numbers. Output Format Output a single integer — the count of elements whose digit count…

Checking your access…