- What's the difference between a list and a hash? When would you use one over the other?
A list is a type of data structure that
A hash is a data structure which implements an unordered associative array of key-value pairs. One advantage of a hash is that for large n, the average time-complexity of search, insert, and delete operations is in constant-time.