In this project, I implement common data structures in python
I did this project with the goal of learning to implement common data structures in python.
- Use Python 3.x.x+
"Code without tests is broken as designed", said Jacob Kaplan-Moss. Therefore i shall not give you code that can not be tested or has no tests. So, to run tests, enter the following command
$ python -m unittest
Each data structure has a problem it solves and these are in the root directory as examples.
The stack
data structure is used to solve the problem of a postfix
calculator. To run the postfix
calculator
enter this command;
$ python -m unittest postfix_calculator