<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>DFS on Rik Kisnah - Blog</title><link>https://www.rik-kisnah.ai/tags/dfs/</link><description>Recent content in DFS on Rik Kisnah - Blog</description><generator>Hugo</generator><language>en</language><lastBuildDate>Tue, 13 Oct 2020 09:00:00 -0700</lastBuildDate><atom:link href="https://www.rik-kisnah.ai/tags/dfs/feed.xml" rel="self" type="application/rss+xml"/><item><title>Clone a Graph</title><link>https://www.rik-kisnah.ai/teach/coding/clone-graph/</link><pubDate>Tue, 13 Oct 2020 09:00:00 -0700</pubDate><guid>https://www.rik-kisnah.ai/teach/coding/clone-graph/</guid><description>Make an exact copy of a graph where nodes point at each other, possibly in loops. The only new idea over a tree is a map from old node to new node, so you never copy anyone twice and never get stuck going round in circles.</description></item><item><title>Flood Fill</title><link>https://www.rik-kisnah.ai/teach/coding/flood-fill/</link><pubDate>Tue, 03 Dec 2019 09:00:00 -0800</pubDate><guid>https://www.rik-kisnah.ai/teach/coding/flood-fill/</guid><description>The paint bucket tool. Click a square, and every connected square of the same colour changes too. Spread to the four neighbours, stop at a different colour or the edge. It is the same search you will use on every grid problem after this one.</description></item></channel></rss>