<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Introduction to Dynamic Programming</title>
	<atom:link href="http://20bits.com/articles/introduction-to-dynamic-programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://20bits.com/articles/introduction-to-dynamic-programming/</link>
	<description>Driven by Data</description>
	<lastBuildDate>Thu, 11 Mar 2010 00:11:01 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: swapneelpatil</title>
		<link>http://20bits.com/articles/introduction-to-dynamic-programming/comment-page-1/#comment-4876</link>
		<dc:creator>swapneelpatil</dc:creator>
		<pubDate>Fri, 05 Mar 2010 16:15:25 +0000</pubDate>
		<guid isPermaLink="false">http://20bits.com/2007/05/08/introduction-to-dynamic-programming/#comment-4876</guid>
		<description>I always tend to go for recursive functions, as they are easy to debug&lt;br&gt;&lt;br&gt;# s: new number in the seq&lt;br&gt;# s_1: the prev number in the sequence&lt;br&gt;# i : iterator, which can be eliminated &lt;br&gt;#     if implemented as a local function (like Scheme)&lt;br&gt;def fibo(n, i=1, s=1, s_1=0):&lt;br&gt;    if n &lt;= i: return s&lt;br&gt;    else: return fibo(n, i+1, s+s_1, s)&lt;br&gt;&lt;br&gt;print (fibo(10))</description>
		<content:encoded><![CDATA[<p>I always tend to go for recursive functions, as they are easy to debug</p>
<p># s: new number in the seq<br /># s_1: the prev number in the sequence<br /># i : iterator, which can be eliminated <br />#     if implemented as a local function (like Scheme)<br />def fibo(n, i=1, s=1, s_1=0):<br />    if n &lt;= i: return s<br />    else: return fibo(n, i+1, s+s_1, s)</p>
<p>print (fibo(10))</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jesse Farmer</title>
		<link>http://20bits.com/articles/introduction-to-dynamic-programming/comment-page-1/#comment-4840</link>
		<dc:creator>Jesse Farmer</dc:creator>
		<pubDate>Sat, 06 Feb 2010 00:03:08 +0000</pubDate>
		<guid isPermaLink="false">http://20bits.com/2007/05/08/introduction-to-dynamic-programming/#comment-4840</guid>
		<description>Dynamic Programming is a type of D&amp;C algorithm, but it relies on the existence of overlapping subproblems.</description>
		<content:encoded><![CDATA[<p>Dynamic Programming is a type of D&#038;C algorithm, but it relies on the existence of overlapping subproblems.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: facebook-100000140332827</title>
		<link>http://20bits.com/articles/introduction-to-dynamic-programming/comment-page-1/#comment-4835</link>
		<dc:creator>facebook-100000140332827</dc:creator>
		<pubDate>Fri, 05 Feb 2010 09:30:45 +0000</pubDate>
		<guid isPermaLink="false">http://20bits.com/2007/05/08/introduction-to-dynamic-programming/#comment-4835</guid>
		<description>What is the basic difference between Divide-and-Conquer Technique and Dynamic Programming??</description>
		<content:encoded><![CDATA[<p>What is the basic difference between Divide-and-Conquer Technique and Dynamic Programming??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: coderoger</title>
		<link>http://20bits.com/articles/introduction-to-dynamic-programming/comment-page-1/#comment-4520</link>
		<dc:creator>coderoger</dc:creator>
		<pubDate>Thu, 16 Jul 2009 20:48:28 +0000</pubDate>
		<guid isPermaLink="false">http://20bits.com/2007/05/08/introduction-to-dynamic-programming/#comment-4520</guid>
		<description>great post,</description>
		<content:encoded><![CDATA[<p>great post,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pickatutorial</title>
		<link>http://20bits.com/articles/introduction-to-dynamic-programming/comment-page-1/#comment-4458</link>
		<dc:creator>pickatutorial</dc:creator>
		<pubDate>Thu, 25 Jun 2009 15:14:11 +0000</pubDate>
		<guid isPermaLink="false">http://20bits.com/2007/05/08/introduction-to-dynamic-programming/#comment-4458</guid>
		<description>Nice work. Keep it up.....</description>
		<content:encoded><![CDATA[<p>Nice work. Keep it up&#8230;..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: biker</title>
		<link>http://20bits.com/articles/introduction-to-dynamic-programming/comment-page-1/#comment-4450</link>
		<dc:creator>biker</dc:creator>
		<pubDate>Tue, 23 Jun 2009 07:49:53 +0000</pubDate>
		<guid isPermaLink="false">http://20bits.com/2007/05/08/introduction-to-dynamic-programming/#comment-4450</guid>
		<description>Superb tutorial..........nice one!!!!</description>
		<content:encoded><![CDATA[<p>Superb tutorial&#8230;&#8230;&#8230;.nice one!!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nilavalagan</title>
		<link>http://20bits.com/articles/introduction-to-dynamic-programming/comment-page-1/#comment-4324</link>
		<dc:creator>Nilavalagan</dc:creator>
		<pubDate>Mon, 18 May 2009 04:39:21 +0000</pubDate>
		<guid isPermaLink="false">http://20bits.com/2007/05/08/introduction-to-dynamic-programming/#comment-4324</guid>
		<description>Excellent..</description>
		<content:encoded><![CDATA[<p>Excellent..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: james</title>
		<link>http://20bits.com/articles/introduction-to-dynamic-programming/comment-page-1/#comment-3886</link>
		<dc:creator>james</dc:creator>
		<pubDate>Sun, 16 Nov 2008 06:55:45 +0000</pubDate>
		<guid isPermaLink="false">http://20bits.com/2007/05/08/introduction-to-dynamic-programming/#comment-3886</guid>
		<description>you should make a function that returns the nth fibonacci number without using recursion.</description>
		<content:encoded><![CDATA[<p>you should make a function that returns the nth fibonacci number without using recursion.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jesse</title>
		<link>http://20bits.com/articles/introduction-to-dynamic-programming/comment-page-1/#comment-3876</link>
		<dc:creator>Jesse</dc:creator>
		<pubDate>Sat, 15 Nov 2008 21:53:52 +0000</pubDate>
		<guid isPermaLink="false">http://20bits.com/2007/05/08/introduction-to-dynamic-programming/#comment-3876</guid>
		<description>offo,

Sorry for making you work so hard.  Do you have any examples of good graphs?

Help me learn &#8212; don&#039;t just berate me.</description>
		<content:encoded><![CDATA[<p>offo,</p>
<p>Sorry for making you work so hard.  Do you have any examples of good graphs?</p>
<p>Help me learn &mdash; don&#8217;t just berate me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SimonTewbi</title>
		<link>http://20bits.com/articles/introduction-to-dynamic-programming/comment-page-1/#comment-3882</link>
		<dc:creator>SimonTewbi</dc:creator>
		<pubDate>Sat, 15 Nov 2008 21:33:00 +0000</pubDate>
		<guid isPermaLink="false">http://20bits.com/2007/05/08/introduction-to-dynamic-programming/#comment-3882</guid>
		<description>Come to think of it, I think this might be cleaner:&lt;br&gt;&lt;br&gt;def fib2(n):&lt;br&gt;	n2, n1 = 0, 1&lt;br&gt;	for i in range(n):&lt;br&gt;		n2, n1 = n1, n1 + n2&lt;br&gt;	return n2</description>
		<content:encoded><![CDATA[<p>Come to think of it, I think this might be cleaner:</p>
<p>def fib2(n):<br />	n2, n1 = 0, 1<br />	for i in range(n):<br />		n2, n1 = n1, n1 + n2<br />	return n2</p>
]]></content:encoded>
	</item>
</channel>
</rss>
