Open
Description
Description of the problem
We need to port stack.py
code in Python to C++ code. We did this for arrays before,
- Python code for arrays - https://github.com/codezonediitj/pydatastructs/blob/master/pydatastructs/linear_data_structures/arrays.py
- C++ code - https://github.com/codezonediitj/pydatastructs/tree/master/pydatastructs/linear_data_structures/_backend/cpp/arrays
You can follow a similar pattern for stacks. Feel free to ask any queries.