1. Linked List
2. Stacks and Queues
3. Binary Tree
4. Hash Table
5. Graph
1. Array_Reverse
2. Array_Shift
3. Array_Binary_Search
4. Linked List Merge
5. Queue with Stacks
6. FIFO Animal Shelter
7. FizzBuzz Tree
8. Multiple Bracket Validation
9. Breadth-First Binary Tree Traversal
10. Insertion Sort
11. Merge Sort
12. Quick Sort
13. Repeating Word Search
14. Tree Intersection
15. Left Join
Every one of these modules are focused on using a range of different data structures in order to construct an algorithim to solve specific challenges.
Every module includes testing to ensure that the algorithm used is a sound one.
Running tests is straight forward and involves using pytest.
First, make sure that you have python3 installed:
$ python3 --version
Python 3.7.5
If you do not:
$ brew install python
You need to have the files locally. Click on the green clone or download button and Download ZIP:
Navigate to your command line:
MacOS: Press command + space to open up the search feature
Search for "terminal" - This is your default command line on MacOS.
In your command line, navigate to this directory:
$ cd ~ ##this is your root directory
$ cd Downloads ##by default: Downloads is a directory inside of your root; and where your file will be downloaded
$ cd python_data_structures_and_algorithims ##and now you are in this directory
This module is running tests on given data imputs. Install pytest to get started: Installing pytest:
$ pip install -U pytest
Running tests:
$ pytest