Theme
Problem Statement
Write an algorithm to check is the stack is empty or not.
procedure isEmpty(top) begin if(top = -1) return true; else return false; endif end procedure