![](https://cos-cdn.shuashuati.com/pipixue-wap/2020-1230-1107-56/ti_inject-812ce.png)
已知L是无表头结点的,是从下列提供的答案中选择合适的语句序列,分别实现: (1)表尾插入s结点的语句序列是_______________________________ (2) 表尾插入 s结点的语句序列是_______________________________ 1. p->next=s; 2. p=L; 3. L=s; 4. p->next=s->next; 5. s->next=p->next; 6. s->next=L; 7. s->next=null; 8. while(p->next!= Q)? p=p-next; 9. while(p->next!=null)p=p->next;