iterate over 2 vectors c 2b 2b

Solutions on MaxInterview for iterate over 2 vectors c 2b 2b by the best coders in the world

showing results for - "iterate over 2 vectors c 2b 2b"
Dylan
19 Jul 2019
1for (auto& [a, b] : zip(containerA, containerB)) {
2    a = b;
3}