We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0364bb8 commit 4fc6af0Copy full SHA for 4fc6af0
14 Hashing/notes.txt
@@ -1 +1,12 @@
1
+Hash table: A simple implementation would be direct addressing in which each key is stored in an array 'key' and hence it can be retrieved
2
+in a constant time. However due to limited memory, this is always not possible.
3
4
+Hashing or Hash Function or hashCode: Maps the key to the location of key in the array
5
+One simple way is to module divide key by the array length
6
+
7
+Load factor = No of elements/size of the table
8
9
+Collision resolution techniques: 1) Separate Chaining
10
+2) Open Addressing
11
12
+Three in open addressing:1) Linear probing 2) Quadratic probing 3) Double Hashing
0 commit comments