expectedoutputtestadvlists.txt

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

TXT
24 行
字号

Test the iterated linked lists
e d c b a
e
d
c
b
a
First item:e
x
After delete first:c b a x
y d c b a x
y
d c b a z
d

For list p = (4 25 4 12 -9 17)
     item 4 has remainder   (25, 4, 12, -9, 17)
     item 25 has remainder   (4, 12, -9, 17)
     item 4 has remainder   (12, -9, 17)
     item 12 has remainder   (-9, 17)
     item -9 has remainder   (17)
     item 17 has remainder   ()
The average of the values in p is 8.833333333333334

⌨️ 快捷键说明

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