SarthakKeshari / CPP-Questions-and-Solutions

This repository aims to solve and create new problems from different spheres of coding. A path to help students to get access to solutions and discuss their doubts.
MIT License
47 stars 132 forks source link

Dynamic stack #322

Closed redhawk2002 closed 2 years ago

redhawk2002 commented 2 years ago

Write a program to explain the concept of dynamic stack

Your answer: In normal stack implementation , the biggest issue is the size so to get the freedom from size we can create a dynamic stack using array and template(for any data type).dynamic Stack is the concept of allocating more memory such that “stack full” condition does not arises easily.

Enter link to the question(if question belongs to any online platform) -

Your answer

Tags for the question(eg - Array, Basic, Stack, etc.) -

Your answer Stack , array

redhawk2002 commented 2 years ago

Kindly assign this issue to me

SarthakKeshari commented 2 years ago

@redhawk2002, Since your question says you want to explain the topic kindly make your code comments intensive. Each line should be clear for a user visiting it. Go ahead, kindly add your solution to "Data Structure/Stack" folder. Deadline - 08/10/2021

SarthakKeshari commented 2 years ago

@redhawk2002, Taging it with level 3. I hope you'll keep up to the expectation.