MSYes And I have mentioned For each approach in the last of this articleReply·Article·May 30, 2023·Iterator in C++ STL