codezonediitj / pydatastructs

A python package for data structures and algorithms
https://pydatastructs.readthedocs.io/en/stable/
Other
199 stars 269 forks source link

Porting `stack.py` to C++ backend #511

Open czgdp1807 opened 1 year ago

czgdp1807 commented 1 year ago

Description of the problem

We need to port stack.py code in Python to C++ code. We did this for arrays before,

  1. Python code for arrays - https://github.com/codezonediitj/pydatastructs/blob/master/pydatastructs/linear_data_structures/arrays.py
  2. 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.

Example of the problem

References/Other comments

nubol23 commented 1 year ago

I want to work on this Issue

czgdp1807 commented 1 year ago

Sure. @nubol23. Feel free to go ahead and start working on it. :-)

PoulasthaMukherjee commented 1 year ago

@czgdp1807 May I work on this as well?