In static implementation stack full
condition is?
O top == 10
O top == n
O top == MAX-1
O top
top == NULL
Answers
Answered by
0
Answer:
Design a Data Structure SpecialStack that supports all the stack operations like push(), pop(), isEmpty(), isFull() and an additional operation getMin() which should return minimum element from the SpecialStack. All these operations of SpecialStack must be O(1). To implement SpecialStack, you should only use standard Stack data structure and no other data structure like arrays, list, .. etc.
Similar questions
English,
2 months ago
Social Sciences,
2 months ago
Math,
2 months ago
English,
5 months ago
Hindi,
5 months ago
Political Science,
10 months ago
English,
10 months ago