![](https://static.youtibao.com/asksite/comm/h5/images/m_q_title.png)
[单选题]
设G是有向简单图,其结点度数序列为(2,2,3,3),入度序列为(0,0,2,3)。则结点的出度序列为()。
A.(2,2,3,3)
B.(2,2,1,0)
C.(2,2,0,0)
D.(1,1,0,0)
查看答案
![](https://static.youtibao.com/asksite/comm/h5/images/solist_ts.png)
A.(2,2,3,3)
B.(2,2,1,0)
C.(2,2,0,0)
D.(1,1,0,0)
A.p->right=s; s->left=p; p->right->left=s; s->right=p->right;
B.s->left=p;s->right=p->right;p->right=s; p->right->left=s;
C.p->right=s; p->right->left=s; s->left=p; s->right=p->right;
D.s->left=p;s->right=p->right;p->right->left=s; p->right=s
A.top=top->next
B.top=top-1
C.top=top+1
D.top->next=top