<?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"
	>
<channel>
	<title>Comments on: Longest Increasing Subsequence</title>
	<atom:link href="http://eli.thegreenplace.net/2006/04/18/longest-increasing-subsequence/feed/" rel="self" type="application/rss+xml" />
	<link>http://eli.thegreenplace.net/2006/04/18/longest-increasing-subsequence/</link>
	<description>Eli Bendersky's personal website</description>
	<pubDate>Fri, 21 Nov 2008 13:10:25 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: eliben</title>
		<link>http://eli.thegreenplace.net/2006/04/18/longest-increasing-subsequence/#comment-18</link>
		<dc:creator>eliben</dc:creator>
		<pubDate>Tue, 18 Apr 2006 14:05:14 +0000</pubDate>
		<guid isPermaLink="false">http://eli.thegreenplace.net/2006/04/18/longest-increasing-subsequence/#comment-18</guid>
		<description>My implementation follows the Fisher Yates shuffle algorithm. See:
http://pleac.sourceforge.net/pleac_ruby/arrays.html

Also, yours is O(n*logn) which is an overkill for an obviously linear task.</description>
		<content:encoded><![CDATA[<p>My implementation follows the Fisher Yates shuffle algorithm. See:<br />
<a href="http://pleac.sourceforge.net/pleac_ruby/arrays.html" rel="nofollow">http://pleac.sourceforge.net/pleac_ruby/arrays.html</a></p>
<p>Also, yours is O(n*logn) which is an overkill for an obviously linear task.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simen</title>
		<link>http://eli.thegreenplace.net/2006/04/18/longest-increasing-subsequence/#comment-15</link>
		<dc:creator>Simen</dc:creator>
		<pubDate>Tue, 18 Apr 2006 13:00:43 +0000</pubDate>
		<guid isPermaLink="false">http://eli.thegreenplace.net/2006/04/18/longest-increasing-subsequence/#comment-15</guid>
		<description>Just a little pointer: the usual way to sort an Array randomly in Ruby is simply sorting by &lt;code&gt;rand&lt;/code&gt;. Example:

&lt;code&gt;
def shuffle_sequence!( a )
  a.sort! { rand }
end

sequence = (0..10).to_a
shuffle_sequence! sequence # =&gt; randomized array
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Just a little pointer: the usual way to sort an Array randomly in Ruby is simply sorting by <code>rand</code>. Example:</p>
<p><code><br />
def shuffle_sequence!( a )<br />
  a.sort! { rand }<br />
end</p>
<p>sequence = (0..10).to_a<br />
shuffle_sequence! sequence # => randomized array<br />
</code></p>
]]></content:encoded>
	</item>
</channel>
</rss>
