feat(codes/c/): add array_stack and linkedlist_stack frame

This commit is contained in:
Gonglja
2023-01-12 21:09:51 +08:00
parent cbbb7d34b2
commit 153846c94b
5 changed files with 91 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
/**
* File: array_stack.c
* Created Time: 2022-01-12
* Author: Zero (glj0@outlook.com)
*/
#include "../include/include.h"
struct ArrayStack {
int *array;
size_t stkSize;
};
typedef struct ArrayStack ArrayStack;
void new(ArrayStack* stk) {
}
size_t size(ArrayStack* stk) {
}
bool empty(ArrayStack* stk) {
}
void push(ArrayStack* stk, int num) {
}
void pop(ArrayStack* stk) {
}
int top(ArrayStack* stk) {
}
int main() {
return 0;
}