以下链表插入函数: void insertFront(Node* head, int val) { Node* newNode = new Node{val,head->next}; head->next = newNode; } 执行后,链表会发生什么变化?()
在头节点前插入新节点
在头节点后插入新节点
替换头节点的数据
链表变为环形结构