arrow_back
返回选关
chevron_left
上一关
下一关
chevron_right
Ch.2 · Level 06
顺序表逆置
双指针从两端向中间靠拢,依次交换元素
arrow_back
返回关卡库
顺序表逆置
初始数组:[3, 1, 4, 1, 5, 9, 2]。点击运行,观察双指针逐步交换元素的完整过程。
1
⌘ + Enter to run
play_arrow
运行代码
guest@aq-shell:~ (bash)
terminal
skip_previous
play_arrow
skip_next
0 / 0
dock_to_left
terminal
1x