You are provided with a vector of integers. Then, you are given queries. For the first query, you are provided with integer, which denotes a position in the vector. The value at this position in the vector needs to be erased. The next query consists of integers denoting a range of the positions in the vector. The elements which fall under that range should be removed. The second query is performed on the updated vector which we get after performing the first query.
Answers
Answered by
0
Answer:
You are provided with a vector of integers. Then, you are given queries. For the first query, you are provided with integer, which denotes a position in the vector. The value at this position in the vector needs to be erased
Similar questions
Hindi,
5 months ago
Computer Science,
5 months ago
English,
5 months ago
Computer Science,
10 months ago
Computer Science,
10 months ago
Science,
1 year ago
Hindi,
1 year ago