Skip to content

Implementation of some classic algorithm I try to learn. Just curiosity :)

Notifications You must be signed in to change notification settings

Samsoum41/classic-algorithms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Some classic algorithms

Here are implementations of some of classic algorithm we learn in a CS degree. I try to remind them and, by coding them, to work on some languages, or method of coding like TDD.

Dijkstra

I wrote it in Python3, tested with unittest. I found 2 graphs to test my solution on http://dominique.frin.free.fr/terminales/exosTES-Dijkstra-cor.pdf

Through this exercise, I discovered unittest basics. I also tried to code using TDD (Test Driven Development) method by following these 3 steps:

  1. Writing a red test (a test that doesn't pass)
  2. Implementing a solution that passes the tests
  3. Refactoring if needed

And each time I want to add features, I run into these 3 steps again.

About

Implementation of some classic algorithm I try to learn. Just curiosity :)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages