1742: 链表的插入
[Creator : ]
Description
给定一个链表:
a = [["y", 1], ["t", 2], ["o", 3], ["n", -1]]
head = 0
请你在链表中插入元素,使遍历链表输出的数据为python
a = [["y", 1], ["t", 2], ["o", 3], ["n", -1]]
head = 0
请你在链表中插入元素,使遍历链表输出的数据为python
Input
无
Output
p->y->t->h->o->n
Sample Output Copy
p->y->t->h->o->n