how to insert in a vector aat any position in c++ code example
Example: insert at position in vector c++
// where v is the vector to insert, i is
// the position, and value is the value
v.insert(v.begin() + i, v2[i])
// where v is the vector to insert, i is
// the position, and value is the value
v.insert(v.begin() + i, v2[i])