/fcc-intermediate-algorithms-python

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Intermediate Algorithms in Python (from freeCodeCamp)

About

I build this as a way to practice my own Python skills.

All the challenges are taken from the freeCodeCamp curriculum fcc intermediate algorithms but adapted to work with Python.

I have solved the algorithms myself once, so hopefully it should all run properly. If you encounter any problems, do not hesitate to submit an issue to this repository.

You can also get the basic algorithm challenges

How to use

You can run the tests for each algorithm challenge by running the file. You can run it directly in your editor or in your terminal:

Python <filename>

The result should look like this:

Ran 7 tests in 0.001s

OK

Of course the number of tests and time will vary, but the "OK" is what you are looking for. If some tests fail, you should see some details of what is not working. For example:

- "your result"
+ "the expected result"

Solutions

I have included my solutions to each algorithm. They are not the only solution possible, and they are not necessarily the best solution.

License

I have included the license as found in the freeCodeCamp respository, which I assume is the proper thing to do. Feel free to correct me if there is any other credit I should give to the original material.