Aim:
You will be given Q queries. Each query is of one of the following three types:
1 : Add an element x to the set.
2 : Delete an element x from the set. (If the number x is not present in the set, then do nothing).
3 : If the number x is present in the set, then print "Yes"(without quotes) else print "No"(without quotes).
Problem Link: https://www.hackerrank.com/challenges/cpp-sets/problem
Aim: You will be given Q queries. Each query is of one of the following three types:
1 : Add an element x to the set. 2 : Delete an element x from the set. (If the number x is not present in the set, then do nothing). 3 : If the number x is present in the set, then print "Yes"(without quotes) else print "No"(without quotes).
Details:
Programming Language: