{"id":22901169,"url":"https://github.com/d-w-arnold/java-hackerrank","last_synced_at":"2026-04-28T08:32:57.131Z","repository":{"id":110635873,"uuid":"332332748","full_name":"d-w-arnold/java-hackerrank","owner":"d-w-arnold","description":"Solutions to Java problems on hackerrank.com 🔐 🌎","archived":false,"fork":false,"pushed_at":"2024-11-11T23:39:01.000Z","size":573,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-07T03:41:49.075Z","etag":null,"topics":["hackerrank","hackerrank-solutions","java","junit","problem-solving"],"latest_commit_sha":null,"homepage":"https://hackerrank.com","language":"Java","has_issues":false,"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/d-w-arnold.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":"2021-01-23T23:56:59.000Z","updated_at":"2024-11-11T23:39:05.000Z","dependencies_parsed_at":"2024-12-14T01:32:12.829Z","dependency_job_id":"dd2f977c-c8a6-43c0-b7bf-d7d066b0fc2c","html_url":"https://github.com/d-w-arnold/java-hackerrank","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d-w-arnold%2Fjava-hackerrank","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d-w-arnold%2Fjava-hackerrank/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d-w-arnold%2Fjava-hackerrank/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d-w-arnold%2Fjava-hackerrank/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/d-w-arnold","download_url":"https://codeload.github.com/d-w-arnold/java-hackerrank/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246591782,"owners_count":20801984,"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":["hackerrank","hackerrank-solutions","java","junit","problem-solving"],"created_at":"2024-12-14T01:32:08.195Z","updated_at":"2026-04-28T08:32:57.091Z","avatar_url":"https://github.com/d-w-arnold.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Java HackerRank Solutions\n\n[My HackerRank Profile](https://www.hackerrank.com/dwarnold)\n\nNB. My latest solutions are in [Python](https://github.com/d-w-arnold/python-hackerrank) ^_^\n\nThe `src` directory contains a hierarchy of Java solutions for different HackerRank problems.\n\nThe `tests` directory contains a hierarchy of unit test classes, with each unit test class corresponding to a specific\nHackerRank problem.\n\n### Run all Unit Tests\n\n```shell\nmvn clean test\n```\n\n### Add Git Hooks\n\nSee `pre-push` shell script in `hooks/`. When pushing to the `main` branch, a push is only successful when all unit\ntests pass.\n\nTo utilise this `pre-push` git hook, run the following commands in the project root directory:\n\n```shell\n# Copy all repo git hooks, into the `.git/hooks/` dir.\ncp -av hooks/* .git/hooks\n\n# Set all git hooks to executable, if not already set.\nchmod +x .git/hooks/*\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd-w-arnold%2Fjava-hackerrank","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fd-w-arnold%2Fjava-hackerrank","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd-w-arnold%2Fjava-hackerrank/lists"}