{"id":24452510,"url":"https://github.com/samridhi060/leetcode1295","last_synced_at":"2025-03-25T06:45:43.696Z","repository":{"id":271495379,"uuid":"913645427","full_name":"Samridhi060/LeetCode1295","owner":"Samridhi060","description":"LeetCode 1295: Find Even Numbers of Digits","archived":false,"fork":false,"pushed_at":"2025-01-08T04:56:07.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-30T06:14:49.968Z","etag":null,"topics":["evendigit","java","leetcode","leetcode-java","leetcode-solutions"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Samridhi060.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-08T04:54:02.000Z","updated_at":"2025-01-08T05:46:10.000Z","dependencies_parsed_at":"2025-01-08T05:27:17.739Z","dependency_job_id":"b65b6f3a-87ab-488a-988d-d8130979d3ad","html_url":"https://github.com/Samridhi060/LeetCode1295","commit_stats":null,"previous_names":["samridhi060/leetcode1295"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samridhi060%2FLeetCode1295","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samridhi060%2FLeetCode1295/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samridhi060%2FLeetCode1295/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samridhi060%2FLeetCode1295/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Samridhi060","download_url":"https://codeload.github.com/Samridhi060/LeetCode1295/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245414523,"owners_count":20611364,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["evendigit","java","leetcode","leetcode-java","leetcode-solutions"],"created_at":"2025-01-21T01:06:11.907Z","updated_at":"2025-03-25T06:45:43.674Z","avatar_url":"https://github.com/Samridhi060.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LeetCode 1295: Find Even Numbers of Digits\n\n## Author\nSamridhi Gupta\n\n## Date\n08/01/2025\n\n## Problem Statement\nThe program solves the problem of counting how many numbers in a given array have an even number of digits. This is based on the LeetCode problem 1295.\n\n## Description\nThe `LeetCode1295` program is a simple Java application that prompts the user to input a fixed number of integers, then calculates and displays how many of these integers contain an even number of digits.\n\n## Features\n- Accepts user input for 5 integers.\n- Calculates the count of integers with an even number of digits.\n- Outputs the result clearly.\n\n## How to Run the Program\n\n### Prerequisites\n- Java Development Kit (JDK) installed on your machine.\n\n### Steps\n1. **Clone the Repository** \n\n2. **Compile the Program**:\n   Open a terminal and navigate to the directory containing the `LeetCode1295.java` file. Then run:\n   ```bash\n   javac LeetCode1295.java\n   ```\n\n3. **Run the Program**:\n   Execute the compiled Java program using:\n   ```bash\n   java LeetCode1295\n   ```\n\n4. **Input**:\n   - The program will prompt you to enter 5 integers.\n\n5. **Output**:\n   The program will display the count of numbers with an even number of digits.\n\n## Example\n\n### Input:\n```\nEnter 5 integers:\n12\n345\n2\n6\n7896\n```\n\n### Output:\n```\nCount of numbers with even digits: 2\n```\n\n## Code Explanation\n\n- The program begins by importing the `Scanner` class for user input.\n- It defines the `LeetCode1295` class, which contains the `main` method and the `findNumbers` method.\n- The `main` method handles user input and calls the `findNumbers` method.\n- The `findNumbers` method iterates through the array to check the number of digits in each number and counts how many have an even number of digits.\n\n## Conclusion\nThis program provides a straightforward approach to solving the problem of counting integers with an even number of digits, demonstrating basic Java programming concepts such as arrays, loops, and user input.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamridhi060%2Fleetcode1295","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamridhi060%2Fleetcode1295","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamridhi060%2Fleetcode1295/lists"}