Advertisements
Advertisements
प्रश्न
What is not true for stack?
विकल्प
List is used for implementing stack.
Dictionary can also be used to implement stack.
List's internal function pop and append are used to remove or add element.
Explicit declaration of TOP is not required in a stack.
MCQ
Advertisements
उत्तर
Dictionary can also be used to implement stack.
Explanation:
Stack cannot be implemented with a dictionary.
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
