mirror of
https://github.com/krahets/hello-algo.git
synced 2024-12-27 01:36:30 +08:00
43 lines
No EOL
462 B
C
43 lines
No EOL
462 B
C
/**
|
|
* 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;
|
|
} |