Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class List
- {
- public:
- List();
- List(const List&);
- bool remove(int);
- bool insert(int, ItemType );
- Node *find(int);
- void toString();
- ItemType retrive(int);
- int getSize();
- private:
- struct Node
- {
- ItemType item;
- Node *next;
- };
- int size;
- Node *head;
- };
Add Comment
Please, Sign In to add comment