We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
What is auto &it:magazine? Is it iterator to the container. It would be very nice if you could suggest the topic that I need to study to understand this.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Hash Tables: Ransom Note
You are viewing a single comment's thread. Return to all comments →
Can you explain the following expression
for (auto &it: magazine) words[it]++;
What is auto &it:magazine? Is it iterator to the container. It would be very nice if you could suggest the topic that I need to study to understand this.