Given a vector of sets of ints, vector< set > v, assumethe vector v has N total sets and that each set has an average of Qitems.
a. What is the Big-O of determining if the first set, v[0],contains the value 7?
b. What is the Big-O of determining if any set in v has the value7?
c. What is the Big-O of determining the number of even values inall of v?
d. What is the Big-O of finding the first set with a value of 7 andthen counting the number of even values in that set?
Determine the data structure needed if we wanted
PayPal Gateway not configured
PayPal Gateway not configured