expectedoutputarrayedbasiclistuos.txt

来自「国外的数据结构与算法分析用书」· 文本 代码 · 共 57 行

TXT
57
字号
Testing the Simple List Properties
Inserting.... 1
Inserting.... 3
Inserting.... 23
Inserting.... 63
Inserting.... -35
Inserting.... 90
Inserting.... 23
Inserting.... 89
Inserting.... -23
Inserting.... 5
Current Contents: 5  -23  89  23  90  -35  63  23  3  1  
Is Empty? false
Is Full? true
First Item is: 5
Deleting First Item
Deleting First Item
Current Contents: 89  23  90  -35  63  23  3  1  
Is Full? false
WipeOut
Current Contents: 
Is Empty? true
Is Full? false
Inserting.... 23
Current Contents: 23  
Is Empty? false
Is Full? false
Deleting First Item
Current Contents: 
Is Empty? true
Testing the Basic List Properties
Inserting.... "r"
Inserting.... "p"
Inserting.... "d"
Inserting.... "c"
Inserting.... "x"
Inserting.... "e"
Current Contents: e  x  c  d  p  r  
Setting the first item to  "l"
Current Contents: l  x  c  d  p  r  
first: l
Inserting...."z"
first: z
first: z
z
d
p
r
list: z  d  p  r  
Inserting.... "h"
Inserting.... "f"
Inserting.... "a"
list2: a  f  h  z  d  p  r  
list2 after setFirstRemainder: a  z  d  p  r  
list2's firstRemainder: z  d  p  r  
clone of list2: a  z  d  p  r  

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?