mirror of
https://github.com/krahets/hello-algo.git
synced 2025-12-19 07:17:54 +08:00
Publish the C codes to the docs. (#469)
This commit is contained in:
@@ -16,6 +16,7 @@ struct arrayStack {
|
||||
|
||||
typedef struct arrayStack arrayStack;
|
||||
|
||||
/* 构造函数 */
|
||||
arrayStack *newArrayStack() {
|
||||
arrayStack *s = malloc(sizeof(arrayStack));
|
||||
// 初始化一个大容量,避免扩容
|
||||
|
||||
Reference in New Issue
Block a user