We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5b75df commit 792c9dfCopy full SHA for 792c9df
problems/kamacoder/0054.替换数字.md
@@ -39,7 +39,7 @@
39
40
从前向后填充就是O(n^2)的算法了,因为每次添加元素都要将添加元素之后的所有元素整体向后移动。
41
42
-**其实很多数组填充类的问题,其做法都是先预先给数组扩容带填充后的大小,然后在从后向前进行操作。**
+**其实很多数组填充类的问题,其做法都是先预先给数组扩容到填充后的大小,然后在从后向前进行操作。**
43
44
这么做有两个好处:
45
0 commit comments