{"id":26154244,"url":"https://github.com/siakhooi/codility-national-coding-week-2021","last_synced_at":"2025-08-22T08:09:42.484Z","repository":{"id":103402011,"uuid":"402428819","full_name":"siakhooi/codility-national-coding-week-2021","owner":"siakhooi","description":"Codility Challenge: National Coding Week 2021 (Medium)","archived":false,"fork":false,"pushed_at":"2021-10-15T11:45:55.000Z","size":59,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-12T21:36:51.447Z","etag":null,"topics":["codility","codility-challenges","java","junit","maven"],"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/siakhooi.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,"zenodo":null}},"created_at":"2021-09-02T13:22:30.000Z","updated_at":"2021-10-15T11:45:58.000Z","dependencies_parsed_at":"2023-07-01T11:45:14.078Z","dependency_job_id":null,"html_url":"https://github.com/siakhooi/codility-national-coding-week-2021","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/siakhooi/codility-national-coding-week-2021","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siakhooi%2Fcodility-national-coding-week-2021","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siakhooi%2Fcodility-national-coding-week-2021/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siakhooi%2Fcodility-national-coding-week-2021/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siakhooi%2Fcodility-national-coding-week-2021/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/siakhooi","download_url":"https://codeload.github.com/siakhooi/codility-national-coding-week-2021/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siakhooi%2Fcodility-national-coding-week-2021/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271606595,"owners_count":24788979,"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","status":"online","status_checked_at":"2025-08-22T02:00:08.480Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["codility","codility-challenges","java","junit","maven"],"created_at":"2025-03-11T08:21:57.290Z","updated_at":"2025-08-22T08:09:42.446Z","avatar_url":"https://github.com/siakhooi.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Codility Challenge: National Coding Week 2021\n\n## LargestString\n\n- Difficulty: Medium\n- Find the alphabetically largest string that can be obtained by performing some substitutions.\n- \u003chttps://app.codility.com/programmers/challenges/national_coding_week_2021/\u003e\n- \u003chttps://app.codility.com/programmers/task/largest_string/\u003e\n\n## Versions\n\n- Result\n  - `Good`: Correctness 100%, Performance 100%.\n  - `OK`: Correctness 100%, Performance \u003c100%.\n  - `Fail`: Correctness \u003c100%, Performance \u003c100%.\n- File naming convention\n  - Code `A`: `NationalCodingWeek2021A.java`\n  - etc\n\n### Gold Award\n\n| File | Complexity | Result | Report                                                                            |\n| ---- | ---------- | ------ | --------------------------------------------------------------------------------- |\n| `A`  | `O(N)`     | `Good` | [REXKN3](https://app.codility.com/cert/view/certREXKN3-6FXGRPMEJNBDHDDB/details/) |\n\n### Java Implementation of Solution provided by Codility\n\n| File | Description                                    | Complexity | Result | Report                                                              |\n| ---- | ---------------------------------------------- | ---------- | ------ | ------------------------------------------------------------------- |\n| `B`  | Using native String `indexOf` and `replaceAll` | `O(N**2)`  | `OK`   | [3SGBG9](https://app.codility.com/demo/results/training3SGBG9-ZZ3/) |\n| `C1` | Using pointer                                  | `O(N**2)`  | `OK`   | [WSX8PG](https://app.codility.com/demo/results/trainingWSX8PG-V2F/) |\n| `C2` | Using pointer, char array                      | `O(N)`     | `Good` | [9HS34G](https://app.codility.com/demo/results/training9HS34G-J9T/) |\n| `D`  | Fibonacchi method with `BigInteger`            | `O(N**2)`  | `OK`   | [WWZ6SP](https://app.codility.com/demo/results/trainingWWZ6SP-AF7/) |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiakhooi%2Fcodility-national-coding-week-2021","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsiakhooi%2Fcodility-national-coding-week-2021","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiakhooi%2Fcodility-national-coding-week-2021/lists"}