// Queue using LL // #ifndef QUEUE_H_ #define QUEUE_H_ #include "LL.h" class Queue { private: LL list; public: bool empty() const { return list.empty(); } void push( long d) { list.push_back(d); } long pop() { return list.pop_front(); } void print() const { list.print(); } }; #endif // QUEUE_H_