tag:blogger.com,1999:blog-4045671445828312434.post6911176245409214396..comments2024-03-25T15:11:30.341+05:30Comments on Born to Automate : Generic implementation of sorting algorithms and using Strategy pattern - Part 3Prajeesh Prathaphttp://www.blogger.com/profile/10973885615112785714noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-4045671445828312434.post-18555436669850999492010-03-08T13:37:09.399+05:302010-03-08T13:37:09.399+05:30Hey,
useful algorithm!
In the heap sort, in the S...Hey,<br />useful algorithm! <br />In the heap sort, in the SiftDown method, you forgot some elements:<br /><br /> if (child <> <br />and<br /><br />if (inputItems[root].CompareTo(inputItems[child]) <> <br /><br /><br />Can you please complete the code? Thanks!!Tommy Mnoreply@blogger.comtag:blogger.com,1999:blog-4045671445828312434.post-59783074368928632762010-03-01T20:32:46.146+05:302010-03-01T20:32:46.146+05:30Great !!! Thanks.Great !!! Thanks.Anonymousnoreply@blogger.com