Hash table
Posted on Sun 28 November 2010 in misc • Leave a comment
Hash table定义(摘自wikidpedia)\ In computer science, a hash table or hash map is a data structure that uses a hash function to map identifying values, known as keys (e.g., a person's name), to their associated values (e.g., their telephone number).\ hash table简单来说就是一种数据结构,可以通过一个key来查询对应的value值(一般情况下效率是很高的)。
记得以前大学时,老师曾出过这样的一道题目 ...
Continue reading