Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef LINKEDLIST
- #define LINKEDLIST
- struct node;
- struct linkedList;
- node *initNode (void);
- linkedList *initLinkedList (void);
- void pushBack (linkedList *L, node *n);
- void emplaceBack (linkedList *L, int v);
- void pushFront (linkedList *L, node *n);
- void emplaceFront (linkedList *L, int v);
- void insert (linkedList *L, node *n, int iter);
- void emplace (linkedList *L, int v, int iter);
- void popBack (linkedList *L);
- void popFront (linkedList *L);
- void erase (linkedList *L, int iter);
- void clear (linkedList *L);
- node *get (linkedList *L, int iter);
- int size (linkedList *L);
- node *getPrev (linkedList *L, node *n);
- node *getNext (linkedList *L, node *n);
- void printLinkedList (linkedList *L);
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement