DATA-STRUCTURE-AND-ALGORITHM-IN-PY icon indicating copy to clipboard operation
DATA-STRUCTURE-AND-ALGORITHM-IN-PY copied to clipboard

Adding Reverse Linked list to Single Linked list folder in repo

Open kinshukgoel4 opened this issue 3 years ago • 3 comments

kinshukgoel4 avatar Oct 13 '22 18:10 kinshukgoel4

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

fms12 avatar Oct 14 '22 06:10 fms12

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.

devvspaces avatar Oct 14 '22 08:10 devvspaces

Thanks for providing an insight on this I will definitely get back on this

kinshukgoel4 avatar Oct 14 '22 19:10 kinshukgoel4