mirror of
https://github.com/krahets/hello-algo.git
synced 2026-07-13 07:46:06 +00:00
Add code source blocks to the chapter Graph.
Fix "函数" and "方法"
This commit is contained in:
@@ -11,7 +11,7 @@ class MyList {
|
||||
int _size = 0; // 列表长度(即当前元素数量)
|
||||
int _extendRatio = 2; // 每次列表扩容的倍数
|
||||
|
||||
/* 构造函数 */
|
||||
/* 构造方法 */
|
||||
MyList() {
|
||||
_nums = List.filled(_capacity, 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user