mirror of
https://github.com/krahets/hello-algo.git
synced 2026-02-11 14:45:38 +08:00
build
This commit is contained in:
@@ -636,6 +636,8 @@ comments: true
|
||||
int size; // 栈的长度
|
||||
};
|
||||
|
||||
typedef struct linkedListStack linkedListStack;
|
||||
|
||||
/* 构造函数 */
|
||||
linkedListStack *newLinkedListStack() {
|
||||
linkedListStack *s = malloc(sizeof(linkedListStack));
|
||||
@@ -1204,6 +1206,8 @@ comments: true
|
||||
int size;
|
||||
};
|
||||
|
||||
typedef struct arrayStack arrayStack;
|
||||
|
||||
/* 构造函数 */
|
||||
arrayStack *newArrayStack() {
|
||||
arrayStack *s = malloc(sizeof(arrayStack));
|
||||
|
||||
Reference in New Issue
Block a user