{"id":16104950,"url":"https://github.com/dbc2201/javacodingproblem1","last_synced_at":"2025-04-13T05:43:30.649Z","repository":{"id":40345988,"uuid":"492010704","full_name":"dbc2201/JavaCodingProblem1","owner":"dbc2201","description":null,"archived":false,"fork":false,"pushed_at":"2022-05-26T06:43:18.000Z","size":51,"stargazers_count":1,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-13T05:42:48.173Z","etag":null,"topics":["java","java-coding-challenges"],"latest_commit_sha":null,"homepage":"https://www.packtpub.com/product/java-coding-problems/9781789801415","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dbc2201.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-05-13T19:01:29.000Z","updated_at":"2022-07-11T07:22:59.000Z","dependencies_parsed_at":"2022-08-09T17:41:33.455Z","dependency_job_id":null,"html_url":"https://github.com/dbc2201/JavaCodingProblem1","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbc2201%2FJavaCodingProblem1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbc2201%2FJavaCodingProblem1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbc2201%2FJavaCodingProblem1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbc2201%2FJavaCodingProblem1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dbc2201","download_url":"https://codeload.github.com/dbc2201/JavaCodingProblem1/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248670520,"owners_count":21142901,"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":["java","java-coding-challenges"],"created_at":"2024-10-09T19:07:20.108Z","updated_at":"2025-04-13T05:43:30.620Z","avatar_url":"https://github.com/dbc2201.png","language":"Java","readme":"[![Test Case Report](https://github.com/dbc2201/JavaCodingProblem1/actions/workflows/maven.yml/badge.svg?event=push)](https://github.com/dbc2201/JavaCodingProblem1/actions/workflows/maven.yml) \n# Java Coding Problems\n\n## Chapter 1: Strings, Numbers, and Math\n\n---\n\n### Problem Statement : Counting Duplicate Characters\n\nWrite a program that counts duplicate characters from a given `String`.\n\n### Sample Input 1\n\n```\n\"aabcc\"\n```\n\n### Sample Output 1\n\n```\n{a=2, b=1, c=2}\n```\n\n---\n\n* [Source Code](src/main/java/io/github/dbc/DuplicateCharactersCounter.java)\n* [Main Class](src/main/java/io/github/dbc/Main.java)\n* [Test Class](src/test/java/io/github/dbc/DuplicateCharactersCounterTest.java)\n\n---\n\u003e Question taken from the book\n\u003e [\"Java Coding Problems\"](https://www.packtpub.com/product/java-coding-problems/9781789801415) by\n\u003e [Anghel Leonard](https://github.com/AnghelLeonard).  \n\u003e Formatted and uploaded by [dbc2201](https://github.com/dbc2201)\n\n---\n\n**Suggested Reading:**\n\n1. [HashMap (Java SE 18 \u0026 JDK 18)](https://docs.oracle.com/en/java/javase/18/docs/api/java.base/java/util/HashMap.html)\n2. [Managing the Content of a Map (dev.java)](https://dev.java/learn/managing-the-content-of-a-map/)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbc2201%2Fjavacodingproblem1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdbc2201%2Fjavacodingproblem1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbc2201%2Fjavacodingproblem1/lists"}