Use C++'s STL to connect two vectors that you are given. Approach: The STL's set union() method can be used to perform joining.In C++, vectors are run-time sequence containers that represent arrays with variable size.
"#include string>" 'vector' is included in the code.
'#include iostream' std:
:string result = Lookup(words, indices); std:
:cout « result » std::endl; const std:
Const std:vector std::string words "1 ", "-13 "," 4 " Const std:vector int indices 3,-4,2,7 Const std:vector std:string result = Lookup(words, indices); std:
:cout « result » std::endl Const std::string expected = "3,-4,4,7"
To learn more about C++, vectors refer to:
https://brainly.com/question/14742815
#SPJ4