2014年4月13日

urllib2.open(req).read() 报403的错误:怎么办?

摘要: http://www.douban.com/group/topic/18095751/heads = {'Accept':'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8','Accept-Charset':'GB231... 阅读全文

posted @ 2014-04-13 19:53 雪 狼 阅读(686) 评论(0) 推荐(0)

三元搜索树

摘要: 原文:http://blog.csdn.net/duckur/article/details/518676Ternary Search TreesJon Bentley and Robert Sedgewickfeature article inDr. Dobbs JournalApril, 1998AbstractWhen you have to store a set of strings, what data structure do you use? Jon and Bob suggest one place you can start is with ternary search t 阅读全文

posted @ 2014-04-13 13:06 雪 狼 阅读(571) 评论(0) 推荐(0)

一些鲜为人知却非常实用的数据结构 - Haippy

摘要: 原文:http://www.udpwork.com/item/9932.html作为程序猿(媛),你必须熟知一些常见的数据结构,比如栈、队列、字符串、链表、二叉树、哈希,但是除了这些常见的数据结构以外,还有没有其他不是很有名,但却非常实用的数据结构呢,有人在stackoverflow上问了这样一个问题,得到了很多热心观众的回答,我们今天就来看看那些鲜为人知却非常实用的数据结构吧。首先,维基百科上的一个页面列举了常见的数据结构,你可以先去那个页面看看。下面我们就来看看一些不是很常见的数据结构吧:Tries(前缀树)Bloom filter(布隆过滤器)Rope: 主要用于某些文本编辑器中,可用于 阅读全文

posted @ 2014-04-13 13:05 雪 狼 阅读(332) 评论(0) 推荐(0)

导航