Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef DOBLECOLA_H
- #define DOBLECOLA_H
- typedef int TInfo;
- typedef struct Node{
- TInfo value;
- struct Node* next;
- }TNode;
- typedef struct DobleCola{
- TNode *first;
- TNode *last;
- }TDobleCola;
- void init(TDobleCola*);
- void insertLeft(TDobleCola*, TInfo);
- void insertRight(TDobleCola*, TInfo);
- TInfo removeLeft(TDobleCola* deque);
- TInfo removeRight(TDobleCola* deque);
- #endif
Add Comment
Please, Sign In to add comment