Vector-Erase Hackerrank Solution in C++ For Explanation Watch Video:: Sample Input 6 1 4 6 2 8 9 2 2 4 Sample Output 3 1 8 9 Code: #include < cmath > #include < cstdio > #include < vector > #include < iostream > #include < algorithm > using namespace std; int main() { /* Enter your code here. Read input from STDIN. Print output to STDOUT */ int n; cin>>n;//6 vector<int> v; for(int i=0;i<n;i++){ int num; cin>>num; v.push_back(num); } int x,a,b; ...