<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Brute force Python solution for Queens Chess Problem</title><link>/technologies/code_exchange/b/blog/posts/brute-force-python-solution-for-queens-chess-problem</link><description>Don&amp;#39;t know if anyone is interested in this, but since i just finished my quick and dirty brute force solution of the Queens Chess Problem using Python i thought that maybe i should publish it to see what kind of feedback i will get: #!/usr/bin/p...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Brute force Python solution for Queens Chess Problem</title><link>https://community.element14.com/technologies/code_exchange/b/blog/posts/brute-force-python-solution-for-queens-chess-problem</link><pubDate>Tue, 15 May 2018 13:18:52 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:140cb927-88e9-4b0a-82e6-1ba0c2a0a54d</guid><dc:creator>urkraft</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Here is a link to a version of the program that also renders a visualization of each solution: &lt;a class="jive-link-external-small" href="https://pastebin.com/CePZuRkJ" rel="nofollow ugc noopener" target="_blank"&gt;https://pastebin.com/CePZuRkJ&lt;/a&gt;&lt;/p&gt;&lt;p&gt;I should also mention a couple of relevant bits of information about the program:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;The program prompts for the size of the chess board and expects a single integer value (for example 8 for all solutions of 8 queens on an 8 x 8 board.&lt;/li&gt;&lt;li&gt;The program uses a brute force algorythm, and the time required to find solutions will be exponential. Responses to 4, 5, and 6 should be fast, but greater values will take dramatically greater amounts of time to solve. 8 took my pc 22 minutes to solve!&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Enjoy!&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;- raymond&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=4811&amp;AppID=74&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Brute force Python solution for Queens Chess Problem</title><link>https://community.element14.com/technologies/code_exchange/b/blog/posts/brute-force-python-solution-for-queens-chess-problem</link><pubDate>Sun, 13 May 2018 20:46:58 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:140cb927-88e9-4b0a-82e6-1ba0c2a0a54d</guid><dc:creator>urkraft</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;The code should be easier to follow here: &lt;a class="jive-link-external-small" href="https://pastebin.com/Lk2BvbUY" rel="nofollow ugc noopener" target="_blank"&gt;https://pastebin.com/Lk2BvbUY&lt;/a&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=4811&amp;AppID=74&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>