DATA-STRUCTURE-AND-ALGORITHM-IN-PY
DATA-STRUCTURE-AND-ALGORITHM-IN-PY copied to clipboard
Adding Reverse Linked list to Single Linked list folder in repo
just add the question solution.py file and test.py file.
-question-name.py file
solution.py file
test_solution.py file
you can refer to this. https://github.com/fms12/DATA-STRUCTURE-AND-ALGORITHM-IN-PY/tree/main/questions
For example, So your directory structure could be like this;
- DATA-STRUCTURE-AND-ALGORITHM-IN-PY
- LinkedList
- Doubly
- Singly
- ReversedSingly <----------- This will be your newly created folder
- solution.py <----------- Write the code for the implementation here
- test_solution.py <----------- Write a test for it here to make sure it's working
There is already a LinkedList directory, which includes full Doubly and Singly linked list implementation. You can add yours Has a new directory ReversedSingly, then write the solution and test for it there.
Anyone could also add tests for it in the future to learn it.
Thanks for providing an insight on this I will definitely get back on this