- 코드 #include using namespace std; //singly list로 구현, addfront, removefront, front, empty class Node { public: int data; Node* next; Node(int data) { this->data = data; this->next = NULL; } }; class SinglyLinkedList { public: Node* head; Node* tail; SinglyLinkedList() { this->head = NULL; this->tail = NULL; } int empty() { if(head == NULL && tail == NULL) { return 1; } else return 0; } void addF..