educative.io

Illustration issue and question issue

why the head node is connect with the tail node in the illustration? It doesn’t make sense.
By the way, I also want to know the meaning of the value in the map. I think the key means the ID of the movie while the value means the ture name. Why you use int instead of string?

lesson: Feature #5: Fetch Most Recently Watched Titles - Decode the Coding Interview in C++: Real-World Examples (educative.io)

Hi @Jiao_Peng
The value basically means the id assigned to the movie, and the key is the id assigned to the movie id in the map. Thank you for letting us know we are working on illustrations.
Thank you! Happy Learning:)