mirror of
https://github.com/krahets/hello-algo.git
synced 2025-11-02 12:58:42 +08:00
Prepare 1.1.0 release (#1274)
* Update bucket_sort.c * Fix the comments in quick_sort.c * Update the announce badge * Sync zh and zh-hant versions * Update contributors list. * Sync zh and zh-hant versions. * Sync zh and zh-hant versions. * Update the contributors list * Update the version number
This commit is contained in:
@ -379,10 +379,10 @@
|
||||
nums.Add(4);
|
||||
|
||||
/* 在中間插入元素 */
|
||||
nums.Insert(3, 6);
|
||||
nums.Insert(3, 6); // 在索引 3 處插入數字 6
|
||||
|
||||
/* 刪除元素 */
|
||||
nums.RemoveAt(3);
|
||||
nums.RemoveAt(3); // 刪除索引 3 處的元素
|
||||
```
|
||||
|
||||
=== "Go"
|
||||
@ -439,10 +439,10 @@
|
||||
nums.push(4);
|
||||
|
||||
/* 在中間插入元素 */
|
||||
nums.splice(3, 0, 6);
|
||||
nums.splice(3, 0, 6); // 在索引 3 處插入數字 6
|
||||
|
||||
/* 刪除元素 */
|
||||
nums.splice(3, 1);
|
||||
nums.splice(3, 1); // 刪除索引 3 處的元素
|
||||
```
|
||||
|
||||
=== "TS"
|
||||
@ -459,10 +459,10 @@
|
||||
nums.push(4);
|
||||
|
||||
/* 在中間插入元素 */
|
||||
nums.splice(3, 0, 6);
|
||||
nums.splice(3, 0, 6); // 在索引 3 處插入數字 6
|
||||
|
||||
/* 刪除元素 */
|
||||
nums.splice(3, 1);
|
||||
nums.splice(3, 1); // 刪除索引 3 處的元素
|
||||
```
|
||||
|
||||
=== "Dart"
|
||||
|
||||
Reference in New Issue
Block a user