{"id":35137327,"url":"https://github.com/mnvr/aoc-25","last_synced_at":"2026-05-21T03:31:35.615Z","repository":{"id":327529324,"uuid":"1107792487","full_name":"mnvr/aoc-25","owner":"mnvr","description":"Advent of Code 2025","archived":false,"fork":false,"pushed_at":"2025-12-14T14:17:12.000Z","size":124,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-16T21:25:36.138Z","etag":null,"topics":["advent-of-code","advent-of-code-2025","advent-of-code-2025-python"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","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/mnvr.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-01T16:07:12.000Z","updated_at":"2025-12-14T14:17:17.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/mnvr/aoc-25","commit_stats":null,"previous_names":["mnvr/aoc-25"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mnvr/aoc-25","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnvr%2Faoc-25","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnvr%2Faoc-25/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnvr%2Faoc-25/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnvr%2Faoc-25/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mnvr","download_url":"https://codeload.github.com/mnvr/aoc-25/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnvr%2Faoc-25/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33287424,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-21T02:57:32.698Z","status":"ssl_error","status_checked_at":"2026-05-21T02:57:31.990Z","response_time":62,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["advent-of-code","advent-of-code-2025","advent-of-code-2025-python"],"created_at":"2025-12-28T09:58:40.908Z","updated_at":"2026-05-21T03:31:35.609Z","avatar_url":"https://github.com/mnvr.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AoC 2025\n\n[Advent of Code 2025](https://adventofcode.com/2025/) in Python.\n\n## Running\n\nInstall [Python 3](https://python.org), then:\n\n```sh\ncat examples/01 | python 01.py\n```\n\n## Test\n\n```sh\nsh test.sh\n```\n\n## Benchmarks\n\n```sh\nhyperfine --input inputs/01 'python 01.py'\n```\n\n| Day | Python |\n| --- | -----: |\n| 1   |  19 ms |\n| 2   |  75 ms |\n| 3   |  15 ms |\n| 4   |  82 ms |\n| 5   |  18 ms |\n| 6   |  17 ms |\n| 7   |  18 ms |\n| 8   | 276 ms |\n| 9   | 960 ms |\n| 11  |  20 ms |\n\n## Ahas\n\n- **Day 1** - \"Always rotate right, flip the dial if needed\" — _[@jukkasuomela](https://mastodon.social/@jukkasuomela.fi@bsky.brid.gy/115650037243506402)_\n\n- **Day 2** - Construct item made of repeated digits and see if they are in range instead of checking item in the range to see if it's made of repeated digits — _[@zeekar](https://www.reddit.com/r/adventofcode/comments/1pc0le8/2025_day_2_part_2_time_to_reach_for_that_trusty/nrup8b2/)_\n\n- **Day 3** - Find the biggest digit in `range(prevBiggest + 1, len - remaining +1)` — _[@bingbackbook](https://x.com/bingbackbook/status/1997010921676591518)_\n\n- **Day 4**: Save paper coordinates as set, intersect with neighbour coordinates to reduce — _[@4HbQ](https://old.reddit.com/r/adventofcode/comments/1pdr8x6/2025_day_4_solutions/ns7eynv/)_, _[@znipper](https://old.reddit.com/r/adventofcode/comments/1pdr8x6/2025_day_4_solutions/ns8ggww/)_\n\n- **Day 6**: After transposing, either the separators or the trailing op can be used to delimit numbers. — [Reddit megathread](https://old.reddit.com/r/adventofcode/comments/1pfguxk/2025_day_6_solutions)\n\n- **Day 7**: `from collections import Counter` — _[@AllanTaylor314](https://www.reddit.com/r/adventofcode/comments/1pdqgj7/2025_day_03_both_partspython_im_new_to_python_and/ns72pt0/)_\n\n- **Day 8**: `sorted(combinations(boxes, 2), key=lambda p: math.dist(*p))`, frozensets for equality` and other great tips by _[@AlexTelon](https://www.reddit.com/r/adventofcode/comments/1ph3tfc/2025_day_8_solutions/nswkcy1/)_\n\n- **Day 11**: Recursive path counting with `functool.cache` — [Reddit megathread](https://old.reddit.com/r/adventofcode/comments/1pjp1rm/2025_day_11_solutions/)\n\n## Oblique strategies\n\n| Day | Oblique strategy            |\n| --- | --------------------------- |\n| 1   | _Mirror, transform, mirror_ |\n| 2   | _Solve the inverse_         |\n| 3   | _Begin again_               |\n| 4   | _Convolve_                  |\n| 5   | -                           |\n| 6   | _Transpose!_                |\n| 11  | _Recurse, cache_            |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmnvr%2Faoc-25","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmnvr%2Faoc-25","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmnvr%2Faoc-25/lists"}