

<?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>评论: [算法题]求数组中重复的值</title>
	<atom:link href="http://www.zdyi.com/array_repeated/feed" rel="self" type="application/rss+xml" />
	<link>http://www.zdyi.com/array_repeated/308</link>
	<description>工作手记 - No silver bullet</description>
	<pubDate>Fri, 10 Feb 2012 10:02:42 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>作者: 银子</title>
		<link>http://www.zdyi.com/array_repeated/308/comment-page-1#comment-1193</link>
		<dc:creator>银子</dc:creator>
		<pubDate>Wed, 02 Sep 2009 13:52:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.zdyi.com/?p=308#comment-1193</guid>
		<description>@Panqw 对应的 tmp 应该有11个数组下标 0~10  
所以我才说JS的数组初始化真的很白白
不像PHP等语言能自动分配</description>
		<content:encoded><![CDATA[<p>@Panqw 对应的 tmp 应该有11个数组下标 0~10<br />
所以我才说JS的数组初始化真的很白白<br />
不像PHP等语言能自动分配</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者: Panqw</title>
		<link>http://www.zdyi.com/array_repeated/308/comment-page-1#comment-1191</link>
		<dc:creator>Panqw</dc:creator>
		<pubDate>Wed, 02 Sep 2009 08:28:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.zdyi.com/?p=308#comment-1191</guid>
		<description>您好：
    如果arr数组是这样的var arr = new Array(10,2,3,4,5,6,7,2,3);
    那么循环里当i=0的时候var j = arr[i];if(tmp[j] != 0)不就会数组越界了么？</description>
		<content:encoded><![CDATA[<p>您好：<br />
    如果arr数组是这样的var arr = new Array(10,2,3,4,5,6,7,2,3);<br />
    那么循环里当i=0的时候var j = arr[i];if(tmp[j] != 0)不就会数组越界了么？</p>
]]></content:encoded>
	</item>
</channel>
</rss>

