链节

1.插入:

WHILE(more data)

      Read (value and next 'p')

      Insert(mylist,value and next 'p')

Reset(list)

Write "Items in the list are"

2.删除

Find( next 'p' in list)

Delete (next 'l' behind 'p' in list)

Reset(list)

Write "items in the list are"

 

posted @ 2020-11-22 19:51  20201222龚杰  阅读(90)  评论(0编辑  收藏  举报