<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Algorithms on khz</title><link>https://blog.khzaw.dev/tags/algorithms/</link><description>Recent content in Algorithms on khz</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Fri, 12 Feb 2016 00:00:00 +0800</lastBuildDate><atom:link href="https://blog.khzaw.dev/tags/algorithms/index.xml" rel="self" type="application/rss+xml"/><item><title>Finding A Knight's Tour</title><link>https://blog.khzaw.dev/posts/finding-a-knights-tour/</link><pubDate>Fri, 12 Feb 2016 00:00:00 +0800</pubDate><guid>https://blog.khzaw.dev/posts/finding-a-knights-tour/</guid><description>&lt;figure&gt;&lt;img src="https://blog.khzaw.dev/img/chess-knight_hu_dc022dd327205ba2.webp" alt="" loading="lazy" decoding="async" width="1024" height="685"&gt;&lt;/figure&gt;

&lt;p&gt;A Knight&amp;rsquo;s Tour is a sequence of moves done by a knight on a chessboard such that it visits each and every square exactly once. Subsequently, the objective of &lt;a href="https://en.wikipedia.org/wiki/Knight%27s_tour"&gt;the Knight&amp;rsquo;s Tour problem&lt;/a&gt; is to determine whether there exists a Knight&amp;rsquo;s Tour from a given starting position. In graph theory terms, it is a form of Hamiltonian path where you visit each vertex of the graph exactly once along the path. Tours can also be &lt;strong&gt;cyclic&lt;/strong&gt; or &lt;strong&gt;closed&lt;/strong&gt; if the final square is a knight&amp;rsquo;s move away from the first and &lt;strong&gt;acyclic&lt;/strong&gt; or &lt;strong&gt;open&lt;/strong&gt; otherwise.&lt;/p&gt;</description></item></channel></rss>