what does the line for (auto x : adj[v]) mean?

In graph problem this line has been used. link:Graph and its representations - GeeksforGeeks Please help. Thanks in advance

1 Like

This format basically says “iterate over elements”.