題組內容
4. The doubly linked list (DLlist) has the advantage of traversing in both forward and
backward directions. Thus we can define each node in DLlist as follows. It has two
link fields, one for forward direction and the other for backward direction.
(b)Write down the algorithms for the insertion and deletion functions in DLlist.
Assume that you want to insert a new node to the right of anode and delete a
node named dnode for a nonempty list. (15%)