2 Comments
User's avatar
Yacob Cohen-Arazi's avatar

Reminds me an exercise with Jason Turner. Using iterator was better than using indices. go figure :)

Expand full comment
Taras Tsugrii's avatar

it is better than using indices, especially now that we can take advantage of parallel algorithms in STL :)

Expand full comment