Skip to content

Conversation

@Ruturaj-007
Copy link

Implemented the EvenDigits class to solve the LeetCode problem "Find Numbers with Even Number of Digits".
The program iterates through an integer array and counts how many numbers contain an even number of digits.
Includes:

  • findNumbers(): counts numbers with even digits
  • even(): checks if a number has an even number of digits
  • digits(): calculates the total digits in a number

Tested with sample input {12, 345, 2, 6, 7896} producing output 2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant