adding cs235

This commit is contained in:
dm
2016-04-06 20:46:10 -07:00
parent 8e52ce1982
commit cf99ec6565
178 changed files with 13079 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
#ifndef __DEQUE_H__
#define __DEQUE_H__
#include "linkedlist.h"
class deque {
public:
linkedlist l;
bool addToDequeLeft(int id);
bool addToDequeRight(int id);
int removeFromDequeLeft();
int removeFromDequeRight();
int showTopOfDequeLeft();
int showTopOfDequeRight();
int showSizeOfDeque();
bool in_deque(int id);
};
#endif