What are the demerits of linear stack?

1 answer

Answer

1107353

2026-06-06 13:25

+ Follow

Linear stacks have several demerits, including limited access to elements, as they only allow operations at one end (the top), making it difficult to retrieve or modify elements elsewhere. Their fixed size can lead to overflow if more elements are added than the stack can accommodate. Additionally, stack operations can lead to inefficiencies in certain applications where random access is required. Finally, managing the stack's state can become complex in recursive implementations, potentially leading to stack overflow errors.

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.