adding cs235
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
#ifndef __IRDEQUE_H__
|
||||
#define __IRDEQUE_H__
|
||||
|
||||
#include "linkedlist.h"
|
||||
|
||||
class irdeque {
|
||||
public:
|
||||
linkedlist l;
|
||||
bool addToIRDequeLeft(int id);
|
||||
bool removeFromIRDequeLeft();
|
||||
bool removeFromIRDequeRight();
|
||||
int showTopOfIRDequeLeft();
|
||||
int showTopOfIRDequeRight();
|
||||
int showSizeOfIRDeque();
|
||||
bool in_irdeque(int id);
|
||||
};
|
||||
#endif
|
||||
Reference in New Issue
Block a user