g5-04466.in
g5-04466.out
在单链表中,已知指针 p 指向要删除的结点(非尾结点),想在 O(1) 删除 p,可行做法是用 p->next 覆盖 p 的值与 next,然后删除 p->next。
p->next
next