Category Uncategorized

DATA AND FILE STRUCTURES

Question 1: a. Write algorithm for push and pop operations of a stack. Also write algorithm to check whether stack is empty or not. Answer: Here is an algorithm for push and pop operations of a stack: Here is an…