<?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>“Programming Life with Music” 的评论</title>
	<atom:link href="http://jackaldire.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://jackaldire.com</link>
	<description>JackalDire &#039;s Blog</description>
	<lastBuildDate>Tue, 03 Aug 2010 11:46:15 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>moorekang 关于 留言版 的评论</title>
		<link>http://jackaldire.com/messageboard/comment-page-1/#comment-165</link>
		<dc:creator>moorekang</dc:creator>
		<pubDate>Tue, 03 Aug 2010 11:46:15 +0000</pubDate>
		<guid isPermaLink="false">http://jackaldire.com/?page_id=21#comment-165</guid>
		<description>;-) 刚开始博客 申请交换链接</description>
		<content:encoded><![CDATA[<p> <img src='http://jackaldire.com/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  刚开始博客 申请交换链接</p>
]]></content:encoded>
	</item>
	<item>
		<title>JackalDire 关于 快速排序详细分析 的评论</title>
		<link>http://jackaldire.com/200908/quick-sort-analysis/comment-page-1/#comment-162</link>
		<dc:creator>JackalDire</dc:creator>
		<pubDate>Tue, 13 Jul 2010 08:30:32 +0000</pubDate>
		<guid isPermaLink="false">http://jackaldire.com/?p=73#comment-162</guid>
		<description>@moorekang, 谢谢指正 ;-)</description>
		<content:encoded><![CDATA[<p>@moorekang, 谢谢指正 <img src='http://jackaldire.com/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>moorekang 关于 快速排序详细分析 的评论</title>
		<link>http://jackaldire.com/200908/quick-sort-analysis/comment-page-1/#comment-161</link>
		<dc:creator>moorekang</dc:creator>
		<pubDate>Tue, 13 Jul 2010 08:09:07 +0000</pubDate>
		<guid isPermaLink="false">http://jackaldire.com/?p=73#comment-161</guid>
		<description>写得非常好，学习.
ps：单向扫描
 if (A[j] &lt;= x)
            swap(A[++m], j) 

swap(A[++m],A[j]);</description>
		<content:encoded><![CDATA[<p>写得非常好，学习.<br />
ps：单向扫描<br />
 if (A[j] &lt;= x)<br />
            swap(A[++m], j) </p>
<p>swap(A[++m],A[j]);</p>
]]></content:encoded>
	</item>
	<item>
		<title>JackalDire 关于 [一道面试题]含有*的字符串匹配问题 的评论</title>
		<link>http://jackaldire.com/200911/string-matching-with-wildcard/comment-page-1/#comment-148</link>
		<dc:creator>JackalDire</dc:creator>
		<pubDate>Mon, 17 May 2010 13:29:12 +0000</pubDate>
		<guid isPermaLink="false">http://jackaldire.com/?p=76#comment-148</guid>
		<description>@crowsy, 你是说改进的算法么？不好意思改进算法原来有个地方写错了，第13行应该是 if (!s[p] &amp;&amp; !t[q]) { 原来少了两个非号。</description>
		<content:encoded><![CDATA[<p>@crowsy, 你是说改进的算法么？不好意思改进算法原来有个地方写错了，第13行应该是 if (!s[p] &#038;&#038; !t[q]) { 原来少了两个非号。</p>
]]></content:encoded>
	</item>
	<item>
		<title>crowsy 关于 [一道面试题]含有*的字符串匹配问题 的评论</title>
		<link>http://jackaldire.com/200911/string-matching-with-wildcard/comment-page-1/#comment-147</link>
		<dc:creator>crowsy</dc:creator>
		<pubDate>Mon, 17 May 2010 11:29:57 +0000</pubDate>
		<guid isPermaLink="false">http://jackaldire.com/?p=76#comment-147</guid>
		<description>一样？  惭愧没看懂你的。 
你的似乎测试不过呀。</description>
		<content:encoded><![CDATA[<p>一样？  惭愧没看懂你的。<br />
你的似乎测试不过呀。</p>
]]></content:encoded>
	</item>
	<item>
		<title>JackalDire 关于 [一道面试题]含有*的字符串匹配问题 的评论</title>
		<link>http://jackaldire.com/200911/string-matching-with-wildcard/comment-page-1/#comment-146</link>
		<dc:creator>JackalDire</dc:creator>
		<pubDate>Sun, 16 May 2010 13:54:11 +0000</pubDate>
		<guid isPermaLink="false">http://jackaldire.com/?p=76#comment-146</guid>
		<description>@crowsy, 这个不是和我的第一个算法一样么，都是暴力搜索；这个和普通的字符串匹配的过程不一样。普通的字符串匹配没有递归，所以只是len(s)*len(t)的复杂度。</description>
		<content:encoded><![CDATA[<p>@crowsy, 这个不是和我的第一个算法一样么，都是暴力搜索；这个和普通的字符串匹配的过程不一样。普通的字符串匹配没有递归，所以只是len(s)*len(t)的复杂度。</p>
]]></content:encoded>
	</item>
	<item>
		<title>crowsy 关于 [一道面试题]含有*的字符串匹配问题 的评论</title>
		<link>http://jackaldire.com/200911/string-matching-with-wildcard/comment-page-1/#comment-145</link>
		<dc:creator>crowsy</dc:creator>
		<pubDate>Sun, 16 May 2010 12:54:05 +0000</pubDate>
		<guid isPermaLink="false">http://jackaldire.com/?p=76#comment-145</guid>
		<description>没有看明白你的思路。
我认为没有要求最大或者最小匹配 所以直接字符比较就可以了 函数如下
bool is_match(const char * s, const char * t)
{
    //记忆源字符串的开始位置和匹配串的开始位置 
    const char *srcFirst = s;
    const char *mathFirst = t;
    
    while (*s &amp;&amp; *t)
    {
        //匹配到* 匹配下面一个域 
        if(&#039;*&#039; == *t) return is_match(s,++t);

        //匹配到不一样的时 源字符串返回到开始位置+1 匹配字符串返回到开始位置 
        if (*t != *s){
               s = srcFirst++;
               t = mathFirst;
               continue;
        } 
        s++;
        t++;           
    }  
    
    //遍历完返回 
    if(!*t) return true;     
    return false;
}</description>
		<content:encoded><![CDATA[<p>没有看明白你的思路。<br />
我认为没有要求最大或者最小匹配 所以直接字符比较就可以了 函数如下<br />
bool is_match(const char * s, const char * t)<br />
{<br />
    //记忆源字符串的开始位置和匹配串的开始位置<br />
    const char *srcFirst = s;<br />
    const char *mathFirst = t;</p>
<p>    while (*s &amp;&amp; *t)<br />
    {<br />
        //匹配到* 匹配下面一个域<br />
        if(&#8216;*&#8217; == *t) return is_match(s,++t);</p>
<p>        //匹配到不一样的时 源字符串返回到开始位置+1 匹配字符串返回到开始位置<br />
        if (*t != *s){<br />
               s = srcFirst++;<br />
               t = mathFirst;<br />
               continue;<br />
        }<br />
        s++;<br />
        t++;<br />
    }  </p>
<p>    //遍历完返回<br />
    if(!*t) return true;<br />
    return false;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>JackalDire 关于 留言版 的评论</title>
		<link>http://jackaldire.com/messageboard/comment-page-1/#comment-139</link>
		<dc:creator>JackalDire</dc:creator>
		<pubDate>Mon, 03 May 2010 02:47:33 +0000</pubDate>
		<guid isPermaLink="false">http://jackaldire.com/?page_id=21#comment-139</guid>
		<description>呵呵，加我gtalk吧，jokerleee@gmail.com</description>
		<content:encoded><![CDATA[<p>呵呵，加我gtalk吧，jokerleee@gmail.com</p>
]]></content:encoded>
	</item>
	<item>
		<title>Kevis 关于 留言版 的评论</title>
		<link>http://jackaldire.com/messageboard/comment-page-1/#comment-138</link>
		<dc:creator>Kevis</dc:creator>
		<pubDate>Sun, 02 May 2010 15:57:44 +0000</pubDate>
		<guid isPermaLink="false">http://jackaldire.com/?page_id=21#comment-138</guid>
		<description>有QQ不？超喜欢你的博客</description>
		<content:encoded><![CDATA[<p>有QQ不？超喜欢你的博客</p>
]]></content:encoded>
	</item>
	<item>
		<title>JackalDire 关于 留言版 的评论</title>
		<link>http://jackaldire.com/messageboard/comment-page-1/#comment-129</link>
		<dc:creator>JackalDire</dc:creator>
		<pubDate>Mon, 05 Apr 2010 08:54:29 +0000</pubDate>
		<guid isPermaLink="false">http://jackaldire.com/?page_id=21#comment-129</guid>
		<description>其实我理解的开源是一种开发模式，一种以社区为中心的开发模式。你如果对某一个开源技术感兴趣，就去加入他们的社区，irc、mailing list之类的，有什么问题直接去问就好了</description>
		<content:encoded><![CDATA[<p>其实我理解的开源是一种开发模式，一种以社区为中心的开发模式。你如果对某一个开源技术感兴趣，就去加入他们的社区，irc、mailing list之类的，有什么问题直接去问就好了</p>
]]></content:encoded>
	</item>
</channel>
</rss>
