New York Times interview question

(1) Open up any text editor and write some mark-up. For example, create a list, etc. (2) How does a hash function work?