Software Engineering vocabulary · Data Structures and Algorithms

Hash map

Meaning in software engineering, with examples

/ˈhæʃ mæp/nounCommon term

In software engineering, hash map means: A data structure that stores key-value pairs and finds the value for a given key very quickly, usually in constant time.

In Turkish: hash tablosu, anahtar-değer tablosu, sözlük

How it is used

Very common in interviews: 'Use a hash map to store what you've already seen.' Languages use different names: HashMap in Java, dict in Python, Map or plain objects in JavaScript.

Example sentences

  1. If you put the IDs in a hash map, you don't need the nested loop.

  2. The cache is just a hash map from user ID to profile data.

Common collocations

  • use a hash map
  • store in a hash map
  • hash map lookup
  • key-value pairs

More terms: Data Structures and Algorithms

Practise with graded reading

Reading at the right level is the fastest way to make new words stick. Pick free English books by level: