Hashing
Last updated
Last updated
Hashing requires space. Hash is fast. Like really fast.
Map is an abstract data type (ADT).
The java.util.HashMap is a popular implementation of Map interface which holds the data as key-value pairs. HashMap extends AbstractMap class and implements Cloneable and Serializable interfaces. -- pramodbablad
Hash function, compression function, collision handling, load factor and rehashing
In java, it is internally implemented as a HashMap in which the keys are the elements and values are constants.
TreeMap
Data Structures & Algorithms in Java (Wiley) - Chapter 10
by pramodbablad