dfs와 bfs를 구현할 때 stack과 bfs를 사용해야함으로 구현 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354#include #include #include #define STACK_SIZE 100 struct Stack{ int stk[STACK_SIZE]; int top;}; void push(struct Stack *stk, int val){ if(stk->top stk[stk->top ++] = val; } } int pop(struct Stack *stk){ int v; if(stk->top > 0){ v = stk->stk[--(stk->top)]; stk-..