Question: class StringLinkedList class StringLinkedList public: /a linked list of strings StringLinkedList(): StringLinkedList): bool empty() const const string& front) const; void addFront(const string& e); void removeFront():





class StringLinkedList class StringLinkedList public: /a linked list of strings StringLinkedList(): StringLinkedList): bool empty() const const string& front) const; void addFront(const string& e); void removeFront(): // empty list constructor // destructor is list empty? // get front element // add to front of list remove front item list private: StringNode* head; // pointer to the head of list class StringLinkedList class StringLinkedList public: /a linked list of strings StringLinkedList(): StringLinkedList): bool empty() const const string& front) const; void addFront(const string& e); void removeFront(): // empty list constructor // destructor is list empty? // get front element // add to front of list remove front item list private: StringNode* head; // pointer to the head of list
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
