bsc

Comprehensive codebase and cou...
Log | Files | Refs | README | LICENSE

algo_027.md (240B)


      1 # algo_027
      2 
      3 ### Problem Statement
      4 
      5 > Write an algorithm to check is the stack is empty or not.
      6 
      7 ## Algorithm
      8 ```
      9 procedure isEmpty(top)
     10 begin
     11     if(top = -1) 
     12         return true;
     13     else 
     14         return false;
     15     endif
     16 end procedure
     17 ```
© notamitgamer • Site Built: 2026-07-21 13:58:23 UTC • git-mirror commit: 1037f62 [view raw info]
Originally created with stagit • modified by notamitgamer
Forked from github.com/notamitgamer/git-mirror