Key Concepts

Review core concepts you need to learn to master this subject

hash maps

# `states` is a Hash Map with state abbreviation keys and state name values. states = { 'TN': "Tennessee", 'CA': "California", 'NY': "New York", 'FL': "Florida" } west_coast_state = states['CA']

Hash maps are a common data structure used to store key-value pairs for efficient retrieval. A value stored in a hash map is retrieved using the key under which it was stored.

Hash Maps: Conceptual
Lesson 1 of 2

What you'll create

Portfolio projects that showcase your new skills

Pro Logo

How you'll master it

Stress-test your knowledge with quizzes that help commit syntax to memory

Pro Logo