Question: need to implement these three functions add, search and remove. class MySetList { public: virtual unsigned int size() = 0; virtual void add(string s) =

need to implement these three functions add, search and remove.

need to implement these three functions add, search and remove. class MySetList

class MySetList { public: virtual unsigned int size() = 0; virtual void add(string s) = 0; virtual void remove(const string & s) = 0; virtual bool search(const string & s) = 0; }; class ArraySetList : public MySetList { private: vector arr;| public: unsigned int size(); void add(string s); void remove(const string & s); bool search(const string & s); unsigned int ArraySetlist::size() {} void ArraySetList::add(strings) {} void ArraySetList::remove(const string & s){}

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!