A.front=p->next; B.front->next=p; C.front=p; D.front->next=p->next;
A.dcba B.bcad C.cbad D.adbc
A.-3 B.n/2 C.n-3 D.3