rmq/stack.c
int stkepty(stack *stk)
{
    if(stk == NULL || stk->top == NULL)
        return 1;
    return 0;
}
//checks if the stack is empty
checks if the stack is empty
checks if the stack is empty
int stkepty(stack *stk)
{
    if(stk == NULL || stk->top == NULL)
        return 1;
    return 0;
}
int stkepty ( stack * stk ) { if ( stk == NULL || stk -> top == NULL ) return 1 ; return 0 ; }
checks if the stack is empty
checks if the stack is empty