📄 arraylistwithiterator.output
字号:
Inserted 6 integers, list y should be 1 2 3 4 5 6
Size of y = 6
Capacity of y = 8
Ouput using forward iterators pre and post ++
1 2 3 4 5 6
1 2 3 4 5 6
Ouput using backward iterators pre and post --
6 5 4 3 2 1
6 5 4 3 2 1
Incremented by 1 list is 2 3 4 5 6 7
The reversed list is 7 6 5 4 3 2
The sum of the elements is 27
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -