随笔分类 -  hashing

hash function 3种方法 1不好 2一般 3好
摘要:1. h(k) = k mod m its is really bad in thepractical. if m = even and k is all even....( m is size of hash table, modulo['mɔdjuləu)2. multiplication m... 阅读全文

posted @ 2014-08-28 06:30 brave_bo 阅读(275) 评论(0) 推荐(0)

hashmap or array
摘要:Maintaining order:- A list by definition is ordered. You add items and then you are able to iterate back through the list in the order that you insert... 阅读全文

posted @ 2014-02-24 09:34 brave_bo 阅读(202) 评论(0) 推荐(0)

导航