<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://msmvps.com/utility/FeedStylesheets/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>Data Structures and Algorithms book flying out (again!)</title><link>http://msmvps.com/blogs/gbarnett/archive/2008/12/22/data-structures-and-algorithms-book-flying-out-again.aspx</link><description>The updated version of the Data Structures and Algorithms book that Luca and I wrote is flying out once more! We are really very happy to see how many people are downloading our book . In total (counting the previous release) the book has had nearly 16</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>re: Data Structures and Algorithms book flying out (again!)</title><link>http://msmvps.com/blogs/gbarnett/archive/2008/12/22/data-structures-and-algorithms-book-flying-out-again.aspx#1659006</link><pubDate>Thu, 08 Jan 2009 03:54:13 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1659006</guid><dc:creator>Granville Barnett</dc:creator><description>&lt;p&gt;Hi newbie (although I has a feeling thats not your name ;-)),&lt;/p&gt;
&lt;p&gt;All the source code for the book is the book itself. The examples given can be translated relatively friction free to your respective imperative language of choice. However, if you want an implementation then we have one on offer in the DSA CodePlex project - &lt;a rel="nofollow" target="_new" href="http://codeplex.com/dsa"&gt;http://codeplex.com/dsa&lt;/a&gt; which is all done in C#.&lt;/p&gt;
&lt;p&gt;HTH&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1659006" width="1" height="1"&gt;</description></item><item><title>re: Data Structures and Algorithms book flying out (again!)</title><link>http://msmvps.com/blogs/gbarnett/archive/2008/12/22/data-structures-and-algorithms-book-flying-out-again.aspx#1658806</link><pubDate>Wed, 07 Jan 2009 18:43:33 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1658806</guid><dc:creator>newbie</dc:creator><description>&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;Where can you download the source code for the book?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1658806" width="1" height="1"&gt;</description></item><item><title>re: Data Structures and Algorithms book flying out (again!)</title><link>http://msmvps.com/blogs/gbarnett/archive/2008/12/22/data-structures-and-algorithms-book-flying-out-again.aspx#1657652</link><pubDate>Wed, 24 Dec 2008 11:32:07 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1657652</guid><dc:creator>Granville Barnett</dc:creator><description>&lt;p&gt;Hi Phil,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll recheck the algorithm when I have some time (which is hard to find these days).&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1657652" width="1" height="1"&gt;</description></item><item><title>Data Structures and Algorithms</title><link>http://msmvps.com/blogs/gbarnett/archive/2008/12/22/data-structures-and-algorithms-book-flying-out-again.aspx#1657647</link><pubDate>Wed, 24 Dec 2008 10:22:29 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1657647</guid><dc:creator>Think Before Coding</dc:creator><description>&lt;p&gt;I had a peek through Jon Skeet’s blog this morning at a free eBook called Data Structures and Algorithms by Granville Barnett and Luca Del Tongo. The book is clear and presents the usual linked lists, trees, sets structures in a concise yet precise&lt;/p&gt;
&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1657647" width="1" height="1"&gt;</description></item><item><title>re: Data Structures and Algorithms book flying out (again!)</title><link>http://msmvps.com/blogs/gbarnett/archive/2008/12/22/data-structures-and-algorithms-book-flying-out-again.aspx#1657594</link><pubDate>Tue, 23 Dec 2008 21:46:55 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1657594</guid><dc:creator>Phil Duby</dc:creator><description>&lt;p&gt;Chapter 5: Sets; Intersection&lt;/p&gt;
&lt;p&gt;While traversing the smallerset, there is no need to check if the smallerset contains the item. &amp;nbsp;That is already known, or it would not have been found during the traversal. &amp;nbsp;Syntax adjusted to use what this form allows.&lt;/p&gt;
&lt;p&gt;1) algorithm Intersection(set1, set2)&lt;/p&gt;
&lt;p&gt;2) Pre: set1, and set2 not 1 emptySet&lt;/p&gt;
&lt;p&gt;3) intersection, smallerSet and largerSet are sets&lt;/p&gt;
&lt;p&gt;3) Post: An intersection of set1, and set2 has been created&lt;/p&gt;
&lt;p&gt;4) if set1.Count &amp;lt; set2.Count&lt;/p&gt;
&lt;p&gt;5) smallerSet is set1&lt;/p&gt;
&lt;p&gt;6) largerSet is set2&lt;/p&gt;
&lt;p&gt;7) else&lt;/p&gt;
&lt;p&gt;8) smallerSet is set2&lt;/p&gt;
&lt;p&gt;9) largerSet is set1&lt;/p&gt;
&lt;p&gt;10) end if&lt;/p&gt;
&lt;p&gt;11) foreach item in smallerSet&lt;/p&gt;
&lt;p&gt;12) if largerSet.Contains(item)&lt;/p&gt;
&lt;p&gt;13) intersection.Add(item)&lt;/p&gt;
&lt;p&gt;14) end if&lt;/p&gt;
&lt;p&gt;15) end foreach&lt;/p&gt;
&lt;p&gt;16) return intersection&lt;/p&gt;
&lt;p&gt;17) end Intersection&lt;/p&gt;
&lt;p&gt;Alternative, &lt;/p&gt;
&lt;p&gt;1) algorithm Intersection(set1, set2)&lt;/p&gt;
&lt;p&gt;2) Pre: set1, and set2 not 1 emptySet&lt;/p&gt;
&lt;p&gt;3) intersection is a set&lt;/p&gt;
&lt;p&gt;3) Post: An intersection of set1, and set2 has been created&lt;/p&gt;
&lt;p&gt;4) if set1.Count &amp;lt; set2.Count&lt;/p&gt;
&lt;p&gt;5) foreach item in set1&lt;/p&gt;
&lt;p&gt;6) if set2.Contains(item)&lt;/p&gt;
&lt;p&gt;7) intersection.Add(item)&lt;/p&gt;
&lt;p&gt;8) end if&lt;/p&gt;
&lt;p&gt;9) end foreach&lt;/p&gt;
&lt;p&gt;10) else&lt;/p&gt;
&lt;p&gt;11) foreach item in set2&lt;/p&gt;
&lt;p&gt;12) if set1.Contains(item)&lt;/p&gt;
&lt;p&gt;13) intersection.Add(item)&lt;/p&gt;
&lt;p&gt;14) end if&lt;/p&gt;
&lt;p&gt;15) end foreach&lt;/p&gt;
&lt;p&gt;16) end if&lt;/p&gt;
&lt;p&gt;17) return intersection&lt;/p&gt;
&lt;p&gt;18) end Intersection&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1657594" width="1" height="1"&gt;</description></item><item><title>Dew Drop - December 22, 2008 | Alvin Ashcraft's Morning Dew</title><link>http://msmvps.com/blogs/gbarnett/archive/2008/12/22/data-structures-and-algorithms-book-flying-out-again.aspx#1657452</link><pubDate>Mon, 22 Dec 2008 14:50:37 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1657452</guid><dc:creator>Dew Drop - December 22, 2008 | Alvin Ashcraft's Morning Dew</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;Dew Drop - December 22, 2008 | Alvin Ashcraft&amp;#39;s Morning Dew&lt;/p&gt;
&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1657452" width="1" height="1"&gt;</description></item></channel></rss>