Nội dung Bài tập
- Mã:
- ADT_01
- Tên:
- Abstract Data Type 01
- Dạng thi:
- oi
- Thang điểm:
- 10 điểm
- Giới hạn thời gian:
- 1 giây
- Giới hạn bộ nhớ:
- 256 MB
- Được tạo bởi:
- tamtd
Delete
from list L1 nodes whose positions are to be found in an ordered list L2. For
instance, if L1 = (A B C D E) and L2= (2 4 8), then the second and the fourth
nodes are to be deleted from list L1 (the eighth node does not exist), and
after deletion, L1 = (A C E)
Ví dụ:
Input Output A B C D E 2 4 8 A C E
Theme :
Mời bạn soạn code
Ai có thể xem bài này :
Thông tin
Phần thảo luận