#869. C++-链表-单链表的例子

C++-链表-单链表的例子

Background

Description

C++-链表-单链表的例子 image image image image image image image

Format

Input

Output

Samples

5
3
2
8
9
6
0
2
3
10
Input ListNode:
5 3 2 8 9 6
Input delete location:
5 2 8 9 6
Input insert location:
Input insert node:
5 2 10 8 9 6

Limitation

1s, 1024KiB for each test case.