Graphs 04- Adjacency List Implementation for Generic Data

in the void print function why did we use the auto keyword to iterate over the map? What is the significance of the keyword ‘auto’ here and what all alternatives can be used instead?