<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>그래프 on wid's blog</title><link>https://wid-blog.github.io/tags/%EA%B7%B8%EB%9E%98%ED%94%84/</link><description>Recent content in 그래프 on wid's blog</description><generator>Hugo</generator><language>ko</language><lastBuildDate>Sat, 04 Jul 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://wid-blog.github.io/tags/%EA%B7%B8%EB%9E%98%ED%94%84/index.xml" rel="self" type="application/rss+xml"/><item><title>Union-Find — 두 최적화가 O(N) 을 상수로 만든다</title><link>https://wid-blog.github.io/posts/tech/algorithm/union-find/</link><pubDate>Sat, 04 Jul 2026 00:00:00 +0000</pubDate><guid>https://wid-blog.github.io/posts/tech/algorithm/union-find/</guid><description>Union-Find 는 그룹마다 root 대표를 두고 같은 그룹인지 판정한다. 최적화 없는 구현은 사슬 트리에서 find 가 O(N) 까지 늘어지지만, path compression 과 union by rank 를 더하면 사실상 상수가 된다.</description></item><item><title>위상정렬 — 진입차수 0 부터 처리한다</title><link>https://wid-blog.github.io/posts/tech/algorithm/topological-sort/</link><pubDate>Fri, 03 Jul 2026 00:00:00 +0000</pubDate><guid>https://wid-blog.github.io/posts/tech/algorithm/topological-sort/</guid><description>위상정렬의 Kahn BFS 는 진입차수 0 인 노드를 반복해서 꺼내 처리하는 알고리즘이고, 사이클 검출은 별도 로직 없이 따라온다. Kahn BFS 의 메커니즘, Course Schedule 유형, DFS post-order 와의 선택 기준.</description></item></channel></rss>