📄 note.txt
字号:
the algorithm in "ex.dpr" and algorithm "ex2.dpr" is identic ,i.e. time complexities are both O(N).
The memory complexity of "ex.dpr" is O(N), but that of "ex2.dpr" is O(1).
D[i] in "ex.dpr" is the i-th char in text.
GetChar(i) for a Buffer in "ex2.dpr" is instead of D[i]. D[i] is equals to GetChar(i).
For each operation, only use D[i] and D[i+1], so Buffer has two chars.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -