- 코드 #include #include using namespace std; //Node를 vector 이용하여 구현, insert(p,x), delete(p), print(p) 구현 //class Node, class Tree 구현 class Node { public: int data; Node* parent; vector child_vector; Node(int data) { this->data = data; this->parent = NULL; } void setParent(Node* parent) { this->parent = parent; } void insertChild(Node* child) { this->child_vector.push_back(child); } void deleteChi..