<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>Data Structures and Algorithms (DSA)</title><link>http://dsa.codeplex.com/project/feeds/rss</link><description>Data Structures and Algorithms &amp;#40;DSA&amp;#41; features implementations of data structures and algorithms that are not implemented in any version of .NET. </description><item><title>New Post: How should a new node with the same value be inserted?</title><link>http://dsa.codeplex.com/discussions/404531</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Say a tree has an existing node with value 1. If another node of same value is to be added , which side should it go?&lt;/p&gt;
&lt;p&gt;Your document states to go RIGHT : &amp;nbsp;&amp;quot;&amp;nbsp;where the left subtree of x&amp;nbsp; contains nodes with values &amp;lt; x&amp;nbsp;and the right subtree contains nodes whose values are &amp;gt;= x .&amp;quot;&lt;/p&gt;
&lt;p&gt;Whereas an article from &lt;a href="http://cslibrary.stanford.edu/110/BinaryTrees.html"&gt;
Stanford&lt;/a&gt; states to go LEFT : &amp;quot;a&lt;span&gt;ll elements in its left subtree are less-or-equal to the node (&amp;lt;=), and all the elements in its right subtree are greater than the node (&amp;gt;).&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Provided code sample ignores duplicates. &amp;nbsp;I am not sure which side to take?&lt;/p&gt;
&lt;/div&gt;</description><author>antonyd</author><pubDate>Mon, 26 Nov 2012 00:55:41 GMT</pubDate><guid isPermaLink="false">New Post: How should a new node with the same value be inserted? 20121126125541A</guid></item><item><title>New Post: Why does ICommonBinaryTreeNode have a TNode generic parameter?</title><link>http://dsa.codeplex.com/discussions/404514</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Also, &amp;nbsp;CommonBinaryTree&amp;lt;TNode,TValue&amp;gt; restricts the use of &lt;strong&gt;TNode&lt;/strong&gt; to a&amp;nbsp;ICommonBinaryTreeNode, i.e the node should ONLY have LEFT and RIGHT children. This also means that I cannot implement any generic &amp;nbsp;node say TOP,BOTTOM and hence I am still
 wondering the rationale behind &lt;strong&gt;TNode&lt;/strong&gt; in &lt;strong&gt;&amp;nbsp;ICommonBinaryTreeNode&amp;lt;TNode,TValue&amp;gt;.
&lt;/strong&gt;Hope I am making some sense , please correct my understanding.&lt;/p&gt;
&lt;/div&gt;</description><author>antonyd</author><pubDate>Sun, 25 Nov 2012 18:15:36 GMT</pubDate><guid isPermaLink="false">New Post: Why does ICommonBinaryTreeNode have a TNode generic parameter? 20121125061536P</guid></item><item><title>New Post: Why does ICommonBinaryTreeNode have a TNode generic parameter?</title><link>http://dsa.codeplex.com/discussions/404514</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;A relatively easier implementation of this interface could be&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;&lt;span style="color:blue"&gt;public&lt;/span&gt; &lt;span style="color:blue"&gt;interface&lt;/span&gt; ICommonBinaryTreeNode&amp;lt;T&amp;gt;
    {
        ICommonBinaryTreeNode&amp;lt;T&amp;gt; Left { &lt;span style="color:blue"&gt;get&lt;/span&gt;; &lt;span style="color:blue"&gt;set&lt;/span&gt;; }

        ICommonBinaryTreeNode&amp;lt;T&amp;gt; Right { &lt;span style="color:blue"&gt;get&lt;/span&gt;; &lt;span style="color:blue"&gt;set&lt;/span&gt;; }

        TValue Value { &lt;span style="color:blue"&gt;get&lt;/span&gt;; &lt;span style="color:blue"&gt;set&lt;/span&gt;; }
    }&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;But, I understand the intention of the authors that the Left &amp;amp; Right children could a node of any other type. Can you cite an tree example that could take advantage of the generic parameter &amp;lt;Tnode&amp;gt; ?&lt;/p&gt;
&lt;/div&gt;</description><author>antonyd</author><pubDate>Sun, 25 Nov 2012 17:12:42 GMT</pubDate><guid isPermaLink="false">New Post: Why does ICommonBinaryTreeNode have a TNode generic parameter? 20121125051242P</guid></item><item><title>New Post: Error loading Dsa.test.csproj project in monodevelop.</title><link>http://dsa.codeplex.com/discussions/404471</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;If you are trying to see the code using monodevelop, then you could most likely run into an error when loading Dsa.test.csproj. &amp;nbsp;This is because of a projectguid reference to mstest (though all projects are Nunit based). To overcome this problem , remove
 this line from Dsa.Test.csproj&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;lt;&lt;/span&gt;&lt;span&gt;ProjectTypeGuids&lt;/span&gt;&lt;span&gt;&amp;gt;&lt;/span&gt;&lt;span&gt;{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4....&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Just thought someone might benefit&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;</description><author>antonyd</author><pubDate>Sun, 25 Nov 2012 00:14:26 GMT</pubDate><guid isPermaLink="false">New Post: Error loading Dsa.test.csproj project in monodevelop. 20121125121426A</guid></item><item><title>Source code checked in, #96133</title><link>http://dsa.codeplex.com/SourceControl/changeset/changes/96133</link><description>Upgrade&amp;#58; New Version of LabDefaultTemplate.xaml. To upgrade your build definitions, please visit the following link&amp;#58; http&amp;#58;&amp;#47;&amp;#47;go.microsoft.com&amp;#47;fwlink&amp;#47;&amp;#63;LinkId&amp;#61;254563</description><author>Project Collection Service Accounts</author><pubDate>Mon, 01 Oct 2012 21:40:31 GMT</pubDate><guid isPermaLink="false">Source code checked in, #96133 20121001094031P</guid></item><item><title>Source code checked in, #96132</title><link>http://dsa.codeplex.com/SourceControl/changeset/changes/96132</link><description>Checked in by server upgrade</description><author>Project Collection Service Accounts</author><pubDate>Mon, 01 Oct 2012 21:33:03 GMT</pubDate><guid isPermaLink="false">Source code checked in, #96132 20121001093303P</guid></item><item><title>New Post: Boundary conditions</title><link>http://dsa.codeplex.com/Thread/View.aspx?ThreadId=231823</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi moderators&lt;/p&gt;
&lt;p&gt;I was going through your code project. I started with Algorithms/Numbers.cs. Some of the boundary cases have not been checked. Please go through the list and consider applying them.&lt;/p&gt;
&lt;p&gt;I am enlisting a few here. More to come.&lt;/p&gt;
&lt;p&gt;1. Fibonacci, GCD, Tobinary, ToOctal methods have to check for integer overflow if given the max value of integer.&lt;/p&gt;
&lt;p&gt;2. ToBinary, ToOctal methods need to check what will happen if the number is zero (0).&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;/div&gt;</description><author>justINcoder</author><pubDate>Thu, 21 Oct 2010 15:06:12 GMT</pubDate><guid isPermaLink="false">New Post: Boundary conditions 20101021030612P</guid></item><item><title>Created Issue: Remove method of Heap throws IndexOutOfRangeException [11793]</title><link>http://dsa.codeplex.com/workitem/11793</link><description>public void RemoveThrowsIndexOutOfRangeException4001281575269&amp;#40;&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            Heap&amp;#60;int&amp;#62; heap&amp;#59;&lt;br /&gt;            bool b&amp;#59;&lt;br /&gt;            heap &amp;#61; new Heap&amp;#60;int&amp;#62;&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;            b &amp;#61; heap.Remove&amp;#40;0&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;</description><author>sthumma</author><pubDate>Fri, 20 Aug 2010 04:14:44 GMT</pubDate><guid isPermaLink="false">Created Issue: Remove method of Heap throws IndexOutOfRangeException [11793] 20100820041444A</guid></item><item><title>Created Issue: AddBefore of DoublyLinkedList throws NullReferenceException [11792]</title><link>http://dsa.codeplex.com/workitem/11792</link><description>public void AddBeforeThrowsNullReferenceException6181281577058&amp;#40;&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            DoublyLinkedList&amp;#60;int&amp;#62; doublyLinkedList&amp;#59;&lt;br /&gt;            doublyLinkedList &amp;#61; new DoublyLinkedList&amp;#60;int&amp;#62;&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;            doublyLinkedList.AddLast&amp;#40;0&amp;#41;&amp;#59;&lt;br /&gt;            DoublyLinkedListNode&amp;#60;int&amp;#62; s0 &amp;#61; new DoublyLinkedListNode&amp;#60;int&amp;#62;&amp;#40;0&amp;#41;&amp;#59;&lt;br /&gt;            s0.Next &amp;#61; &amp;#40;DoublyLinkedListNode&amp;#60;int&amp;#62;&amp;#41;null&amp;#59;&lt;br /&gt;            s0.Previous &amp;#61; &amp;#40;DoublyLinkedListNode&amp;#60;int&amp;#62;&amp;#41;null&amp;#59;&lt;br /&gt;            doublyLinkedList.AddBefore&amp;#40;s0, 0&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;</description><author>sthumma</author><pubDate>Fri, 20 Aug 2010 04:13:44 GMT</pubDate><guid isPermaLink="false">Created Issue: AddBefore of DoublyLinkedList throws NullReferenceException [11792] 20100820041344A</guid></item><item><title>Created Issue: AddAfter of DoublyLinkedList throws NullReferenceException [11791]</title><link>http://dsa.codeplex.com/workitem/11791</link><description>public void AddAfter101281577093&amp;#40;&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            DoublyLinkedList&amp;#60;int&amp;#62; doublyLinkedList&amp;#59;&lt;br /&gt;            doublyLinkedList &amp;#61; new DoublyLinkedList&amp;#60;int&amp;#62;&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;            doublyLinkedList.AddLast&amp;#40;0&amp;#41;&amp;#59;&lt;br /&gt;            DoublyLinkedListNode&amp;#60;int&amp;#62; s0 &amp;#61; new DoublyLinkedListNode&amp;#60;int&amp;#62;&amp;#40;0&amp;#41;&amp;#59;&lt;br /&gt;            s0.Next &amp;#61; &amp;#40;DoublyLinkedListNode&amp;#60;int&amp;#62;&amp;#41;null&amp;#59;&lt;br /&gt;            s0.Previous &amp;#61; &amp;#40;DoublyLinkedListNode&amp;#60;int&amp;#62;&amp;#41;null&amp;#59;&lt;br /&gt;            doublyLinkedList.AddAfter&amp;#40;s0, 0&amp;#41;&amp;#59;&lt;br /&gt;            Assert.IsNotNull&amp;#40;&amp;#40;object&amp;#41;doublyLinkedList&amp;#41;&amp;#59;&lt;br /&gt;            Assert.IsNotNull&amp;#40;doublyLinkedList.Head&amp;#41;&amp;#59;&lt;br /&gt;            Assert.AreEqual&amp;#60;int&amp;#62;&amp;#40;0, doublyLinkedList.Head.Value&amp;#41;&amp;#59;&lt;br /&gt;            Assert.IsNotNull&amp;#40;doublyLinkedList.Head.Next&amp;#41;&amp;#59;&lt;br /&gt;            Assert.AreEqual&amp;#60;int&amp;#62;&amp;#40;0, doublyLinkedList.Head.Next.Value&amp;#41;&amp;#59;&lt;br /&gt;            Assert.IsNull&amp;#40;doublyLinkedList.Head.Next.Next&amp;#41;&amp;#59;&lt;br /&gt;            Assert.IsNotNull&amp;#40;doublyLinkedList.Head.Next.Previous&amp;#41;&amp;#59;&lt;br /&gt;            Assert.IsTrue&amp;#40;object.ReferenceEquals&lt;br /&gt;                              &amp;#40;doublyLinkedList.Head.Next.Previous, doublyLinkedList.Head&amp;#41;&amp;#41;&amp;#59;&lt;br /&gt;            Assert.IsNull&amp;#40;doublyLinkedList.Head.Previous&amp;#41;&amp;#59;&lt;br /&gt;            Assert.IsNotNull&amp;#40;doublyLinkedList.Tail&amp;#41;&amp;#59;&lt;br /&gt;            Assert.IsTrue&lt;br /&gt;                &amp;#40;object.ReferenceEquals&amp;#40;doublyLinkedList.Tail, doublyLinkedList.Head.Next&amp;#41;&amp;#41;&amp;#59;&lt;br /&gt;            Assert.AreEqual&amp;#60;bool&amp;#62;&lt;br /&gt;                &amp;#40;false, &amp;#40;&amp;#40;CollectionBase&amp;#60;int&amp;#62;&amp;#41;doublyLinkedList&amp;#41;.IsSynchronized&amp;#41;&amp;#59;&lt;br /&gt;            Assert.AreEqual&amp;#60;int&amp;#62;&amp;#40;2, &amp;#40;&amp;#40;CollectionBase&amp;#60;int&amp;#62;&amp;#41;doublyLinkedList&amp;#41;.Count&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;</description><author>sthumma</author><pubDate>Fri, 20 Aug 2010 04:12:30 GMT</pubDate><guid isPermaLink="false">Created Issue: AddAfter of DoublyLinkedList throws NullReferenceException [11791] 20100820041230A</guid></item><item><title>Created Issue: CopyTo of BinarySearchTree throws ArgumentException [11790]</title><link>http://dsa.codeplex.com/workitem/11790</link><description>public void CopyToThrowsArgumentException3051281576371&amp;#40;&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            BinarySearchTree&amp;#60;int&amp;#62; binarySearchTree&amp;#59;&lt;br /&gt;            binarySearchTree &amp;#61; new BinarySearchTree&amp;#60;int&amp;#62;&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;            binarySearchTree.Add&amp;#40;0&amp;#41;&amp;#59;&lt;br /&gt;            int&amp;#91;&amp;#93; ints &amp;#61; new int&amp;#91;0&amp;#93;&amp;#59;&lt;br /&gt;            binarySearchTree.CopyTo&amp;#40;ints&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;</description><author>sthumma</author><pubDate>Fri, 20 Aug 2010 04:10:13 GMT</pubDate><guid isPermaLink="false">Created Issue: CopyTo of BinarySearchTree throws ArgumentException [11790] 20100820041013A</guid></item><item><title>Created Issue: NullReferenceExceptions in BinarySearchTree [11789]</title><link>http://dsa.codeplex.com/workitem/11789</link><description>Following test cases throw NullReferenceExceptions BinarySearchTree.&lt;br /&gt;&lt;br /&gt;1. &lt;br /&gt;&lt;br /&gt;public void RemoveThrowsNullReferenceException4301281576193&amp;#40;&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            BinarySearchTree&amp;#60;int&amp;#62; binarySearchTree&amp;#59;&lt;br /&gt;            bool b&amp;#59;&lt;br /&gt;            binarySearchTree &amp;#61; new BinarySearchTree&amp;#60;int&amp;#62;&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;            binarySearchTree.Add&amp;#40;134217985&amp;#41;&amp;#59;&lt;br /&gt;            binarySearchTree.Add&amp;#40;0&amp;#41;&amp;#59;&lt;br /&gt;            b &amp;#61; binarySearchTree.Remove&amp;#40;134217985&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;&lt;br /&gt;2.&lt;br /&gt;&lt;br /&gt;public void RemoveThrowsNullReferenceException541281576193&amp;#40;&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            BinarySearchTree&amp;#60;int&amp;#62; binarySearchTree&amp;#59;&lt;br /&gt;            bool b&amp;#59;&lt;br /&gt;            binarySearchTree &amp;#61; new BinarySearchTree&amp;#60;int&amp;#62;&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;            binarySearchTree.Add&amp;#40;-2109603803&amp;#41;&amp;#59;&lt;br /&gt;            binarySearchTree.Add&amp;#40;16&amp;#41;&amp;#59;&lt;br /&gt;            binarySearchTree.Remove&amp;#40;0&amp;#41;&amp;#59;&lt;br /&gt;            b &amp;#61; binarySearchTree.Remove&amp;#40;-2109603803&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;&lt;br /&gt;3.&lt;br /&gt;&lt;br /&gt;public void RemoveThrowsNullReferenceException8101281576193&amp;#40;&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            BinarySearchTree&amp;#60;int&amp;#62; binarySearchTree&amp;#59;&lt;br /&gt;            bool b&amp;#59;&lt;br /&gt;            binarySearchTree &amp;#61; new BinarySearchTree&amp;#60;int&amp;#62;&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;            binarySearchTree.Add&amp;#40;0&amp;#41;&amp;#59;&lt;br /&gt;            binarySearchTree.Add&amp;#40;0&amp;#41;&amp;#59;&lt;br /&gt;            binarySearchTree.Add&amp;#40;0&amp;#41;&amp;#59;&lt;br /&gt;            b &amp;#61; binarySearchTree.Remove&amp;#40;0&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;</description><author>sthumma</author><pubDate>Fri, 20 Aug 2010 04:05:12 GMT</pubDate><guid isPermaLink="false">Created Issue: NullReferenceExceptions in BinarySearchTree [11789] 20100820040512A</guid></item><item><title>Created Issue: FormatException thrown by public methods in Algorithms namespace [11788]</title><link>http://dsa.codeplex.com/workitem/11788</link><description>1.&lt;br /&gt;public void ToBinaryThrowsFormatException1771281578009&amp;#40;&amp;#41; &amp;#123;&lt;br /&gt;            int i&amp;#59;&lt;br /&gt;            i &amp;#61; Numbers.ToBinary&amp;#40;0&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;&lt;br /&gt;2.&lt;br /&gt;&lt;br /&gt;public void ToOctalThrowsFormatException1771281578040&amp;#40;&amp;#41; &amp;#123;&lt;br /&gt;            int i&amp;#59;&lt;br /&gt;            i &amp;#61; Numbers.ToOctal&amp;#40;0&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;</description><author>sthumma</author><pubDate>Fri, 20 Aug 2010 04:01:21 GMT</pubDate><guid isPermaLink="false">Created Issue: FormatException thrown by public methods in Algorithms namespace [11788] 20100820040121A</guid></item><item><title>Created Issue: IndexOutOfRangeException thrown by public methods in Algorithms namespace [11787]</title><link>http://dsa.codeplex.com/workitem/11787</link><description>Following test cases throw IndexOutOfRangeException.&lt;br /&gt;&lt;br /&gt;1. &lt;br /&gt;&lt;br /&gt;public void RadixSortThrowsIndexOutOfRangeException4131281576033&amp;#40;&amp;#41; &amp;#123;&lt;br /&gt;            IList&amp;#60;string&amp;#62; iList&amp;#59;&lt;br /&gt;            string&amp;#91;&amp;#93; ss &amp;#61; new string&amp;#91;2&amp;#93;&amp;#59;&lt;br /&gt;            ss&amp;#91;0&amp;#93; &amp;#61; &amp;#34;&amp;#92;0&amp;#34;&amp;#59;&lt;br /&gt;            ss&amp;#91;1&amp;#93; &amp;#61; &amp;#34;&amp;#92;u00ff&amp;#34;&amp;#59;&lt;br /&gt;            Sorting.RadixSort&amp;#40;&amp;#40;IList&amp;#60;string&amp;#62;&amp;#41;ss, 1&amp;#41;&amp;#59;&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;2.&lt;br /&gt;public void AnyThrowsIndexOutOfRangeException3591281576865&amp;#40;&amp;#41; &amp;#123;&lt;br /&gt;           Strings.Any&amp;#40;&amp;#34;&amp;#92;t&amp;#92;t&amp;#34;, &amp;#34;&amp;#92;t&amp;#92;t&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;3.&lt;br /&gt;&lt;br /&gt;public void IsPalindromeThrowsIndexOutOfRangeException4721281576877&amp;#40;&amp;#41; &amp;#123;&lt;br /&gt;            bool b&amp;#59;&lt;br /&gt;            b &amp;#61; Strings.IsPalindrome&amp;#40;&amp;#34;&amp;#43;&amp;#43;&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;&lt;br /&gt;4.&lt;br /&gt;&lt;br /&gt;public void ReverseWordsThrowsIndexOutOfRangeException881281576919&amp;#40;&amp;#41; &amp;#123;&lt;br /&gt;            string s&amp;#59;&lt;br /&gt;            s &amp;#61; Strings.ReverseWords&amp;#40;&amp;#34;&amp;#92;t&amp;#92;t&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;&lt;br /&gt;5. &lt;br /&gt;public void WordCountThrowsIndexOutOfRangeException6361281576940&amp;#40;&amp;#41; &amp;#123;&lt;br /&gt;            int i&amp;#59;&lt;br /&gt;            i &amp;#61; Strings.WordCount&amp;#40;&amp;#34;&amp;#34;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;6.&lt;br /&gt;&lt;br /&gt;public void MedianLeftThrowsArgumentOutOfRangeException4241281575753&amp;#40;&amp;#41;&lt;br /&gt;        &amp;#123;&lt;br /&gt;            IList&amp;#60;int&amp;#62; iList&amp;#59;&lt;br /&gt;            int&amp;#91;&amp;#93; ints &amp;#61; new int&amp;#91;0&amp;#93;&amp;#59;&lt;br /&gt;            iList &amp;#61; Sorting.MedianLeft&amp;#60;T&amp;#62;&amp;#40;&amp;#40;IList&amp;#60;int&amp;#62;&amp;#41;ints&amp;#41;&amp;#59;&lt;br /&gt;        &amp;#125;&lt;br /&gt;</description><author>sthumma</author><pubDate>Fri, 20 Aug 2010 04:00:04 GMT</pubDate><guid isPermaLink="false">Created Issue: IndexOutOfRangeException thrown by public methods in Algorithms namespace [11787] 20100820040004A</guid></item><item><title>Created Issue: Overflow exceptions thrown in many classes from Algorithms namespace [11786]</title><link>http://dsa.codeplex.com/workitem/11786</link><description>Invoking public methods in Numbers class throws overflow exceptions due to not handling of specific scenarios as follows&amp;#58;&lt;br /&gt;&lt;br /&gt;1. Number.Fibonacci&amp;#40;int.MaxValue&amp;#41;&lt;br /&gt;2. Numbers.GreatestCommonDenominator&amp;#40;-1, int.MinValue&amp;#41;&lt;br /&gt;</description><author>sthumma</author><pubDate>Fri, 20 Aug 2010 03:49:12 GMT</pubDate><guid isPermaLink="false">Created Issue: Overflow exceptions thrown in many classes from Algorithms namespace [11786] 20100820034912A</guid></item><item><title>Source code checked in, #63489</title><link>http://dsa.codeplex.com/SourceControl/changeset/changes/63489</link><description>Checked in by server upgrade</description><author>_TFSSERVICE</author><pubDate>Tue, 27 Jul 2010 20:28:19 GMT</pubDate><guid isPermaLink="false">Source code checked in, #63489 20100727082819P</guid></item><item><title>Created Issue: Return value not as expected. SinglyLinkedList class, Remove method [8858]</title><link>http://dsa.codeplex.com/WorkItem/View.aspx?WorkItemId=8858</link><description>When the SinglyLinkedList&amp;#60;string&amp;#62; contains &amp;#123;&amp;#8220;&amp;#8221;,null&amp;#125; and item to remove is &amp;#8220;&amp;#92;0&amp;#8221;, Remove method returns true, when the expected return value is false.&lt;br /&gt;</description><author>mrmarri</author><pubDate>Sun, 27 Sep 2009 19:29:45 GMT</pubDate><guid isPermaLink="false">Created Issue: Return value not as expected. SinglyLinkedList class, Remove method [8858] 20090927072945P</guid></item><item><title>Created Issue: Return value not as expected. Heap class, Remove method [8857]</title><link>http://dsa.codeplex.com/WorkItem/View.aspx?WorkItemId=8857</link><description>When the heap size &amp;#60; 4 and contains no item of value 0, the Remove method still returns true, when the expected return value is false&lt;br /&gt;&amp;#91;Test&amp;#93;&lt;br /&gt;public void testMethod&amp;#40;&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;Heap&amp;#60;int&amp;#62; actual &amp;#61; new Heap&amp;#60;int&amp;#62; &amp;#123;1,2,3&amp;#125;&amp;#59;&lt;br /&gt;actual.Remove&amp;#40;0&amp;#41;&amp;#59;&lt;br /&gt;&amp;#125;&lt;br /&gt;&lt;br /&gt;Comment&amp;#58; The problem is due to the default assignment of array of size 4 in the constructor&lt;br /&gt;</description><author>mrmarri</author><pubDate>Sun, 27 Sep 2009 19:27:51 GMT</pubDate><guid isPermaLink="false">Created Issue: Return value not as expected. Heap class, Remove method [8857] 20090927072751P</guid></item><item><title>Created Issue: IndexOutOfRangeException: Heap class, Remove method [8856]</title><link>http://dsa.codeplex.com/WorkItem/View.aspx?WorkItemId=8856</link><description>When the heap contains no elements and item to remove is 0, the Remove&amp;#40;&amp;#41; method throws IndexOutOfRangeException &lt;br /&gt;&amp;#91;Test&amp;#93;&lt;br /&gt;public void testMethod&amp;#40;&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;BinarySearchTree&amp;#60;int&amp;#62;  bst &amp;#61; new BinarySearchTree&amp;#60;int&amp;#62;&amp;#123;&amp;#125;&amp;#59;&lt;br /&gt;bst.Remove&amp;#40;0&amp;#41;&amp;#59;&lt;br /&gt;&amp;#125;&lt;br /&gt;</description><author>mrmarri</author><pubDate>Sun, 27 Sep 2009 19:25:35 GMT</pubDate><guid isPermaLink="false">Created Issue: IndexOutOfRangeException: Heap class, Remove method [8856] 20090927072535P</guid></item><item><title>Created Issue: NullReferenceException: BinarySearchTree class, Remove method [8855]</title><link>http://dsa.codeplex.com/WorkItem/View.aspx?WorkItemId=8855</link><description>When the root &amp;#61;&amp;#61; elementToRemove &amp;#38;&amp;#38; tree&amp;#39;s count &amp;#62; 1, then Remove method throws a NullReferenceException&lt;br /&gt;&lt;br /&gt;&amp;#91;Test&amp;#93;&lt;br /&gt;public void testMethod&amp;#40;&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;BinarySearchTree&amp;#60;int&amp;#62;  bst &amp;#61; new BinarySearchTree&amp;#60;int&amp;#62;&amp;#123;0,0&amp;#125;&amp;#59;&lt;br /&gt;bst.Remove&amp;#40;0&amp;#41;&amp;#59;&lt;br /&gt;&amp;#125;&lt;br /&gt;</description><author>mrmarri</author><pubDate>Sun, 27 Sep 2009 19:22:49 GMT</pubDate><guid isPermaLink="false">Created Issue: NullReferenceException: BinarySearchTree class, Remove method [8855] 20090927072249P</guid></item></channel></rss>