hello-algo/codes/c/chapter_stack_and_queue/array_stack.c

43 lines
462 B
C++
Raw Normal View History

/**
* 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;
}