---
title: "Day 11 - Advent of Code 2025"
url: https://daily.dev/posts/day-11---advent-of-code-2025-mr9fgxvcu
source_url: https://www.youtube.com/watch?v=gYc9yptZh3Q
type: video:youtube
source: "chris biscardi"
published: 2026-05-31T07:48:53.446Z
updated: 2026-05-31T09:15:29.604Z
tags: ["rust"]
reading_time: 26
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Day 11 - Advent of Code 2025

**[chris biscardi](https://daily.dev/sources/chrisbiscardi)** · 26 min read · 0 upvotes · 0 comments

## Summary

A live coding walkthrough of Advent of Code 2025 Day 11 in Rust. Part one involves counting all paths from a source node to a destination in a directed graph, solved using the pathfinding crate's count_paths function with a BTreeMap-based parser using nom. Part two adds a constraint requiring paths to visit two specific intermediate nodes (FFT and DAC), solved by redefining the graph node to include boolean state tracking whether each required node has been visited, effectively expanding the graph while leveraging built-in caching to handle the large path counts efficiently. The solution runs in ~100 microseconds for part one and ~277 microseconds for part two.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=gYc9yptZh3Q>

---

Tags: [#rust](https://daily.dev/tags/rust)

[View this post on daily.dev](https://daily.dev/posts/day-11---advent-of-code-2025-mr9fgxvcu)
