Minor edits and implementation types (#28835)
This commit is contained in:
@@ -3,11 +3,13 @@ title: Hash Tables
|
|||||||
---
|
---
|
||||||
|
|
||||||
## Hash Tables
|
## Hash Tables
|
||||||
Hash table (or Hash Map) is a data structure that can map keys to values.A hash table uses a hash function to compute an index
|
Hash table (or Hash Map) is a data structure that can map keys to values. A hash table uses a hash function to compute an index
|
||||||
into an array of buckets, from which the desired values can be found.Time complexity of a well defined Hash function can be O(1).
|
into an array of buckets, from which the desired values can be found. Time complexity of a well defined Hash function can be O(1).
|
||||||
|
|
||||||
A hash table (hash map) is a data structure which implements an associative array abstract data type, a structure that can map keys to values. A hash table uses a hash function to compute an index into an array of buckets or slots, from which the desired value can be found.
|
A hash table (hash map) is a data structure which implements an associative array abstract data type, a structure that can map keys to values. A hash table uses a hash function to compute an index into an array of buckets or slots, from which the desired value can be found.
|
||||||
|
|
||||||
|
Depending on the language implementation of hash tables can be given different names. For example, in Python their implementation is called a dictionary.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Some Important properties of Hash Table -
|
Some Important properties of Hash Table -
|
||||||
|
Reference in New Issue
Block a user