正在加载图片...
s2 The List ADt ADT. Objects:(item, item,., itemN-1) Operations: 9 Finding the length, N, of a list. Cg Printing all the items in a list 9 Making an empty list C Finding the k-th item from a list,0<k<N. Inserting a new item after the k-th item of a list, 0sk<N. C Deleting an item from a list C Finding next of the current item from a list e Finding previous of the current item from a list§2 The List ADT Objects: ( item0 , item1 ,  , itemN−1 ) Operations:  Finding the length, N, of a list.  Printing all the items in a list.  Making an empty list.  Finding the k-th item from a list, 0  k < N.  Inserting a new item after the k-th item of a list, 0  k < N.  Deleting an item from a list.  Finding next of the current item from a list.  Finding previous of the current item from a list. ❖ ADT:
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有