Skip to content

jimmyshuyulee/duke-ece590-algorithm-projects

Repository files navigation

Duke ECE590 Algorithm Projects

This repositary includes 4 projects for Duke ECE590 - Algorithm.

Environment

All of the projects are developed under pipenv and the Pipfile is provided. To set up the environment, simply execute:

pipenv install

This will install required packages for all the four projects under pipenv.

Project 1: Sorting

In this project, we implemented the following 5 different sorting algorithms.

  • Selection Sort
  • Insertion Sort
  • Bubble Sort
  • Merge Sort
  • Quick Sort

Project 2: DFS/BFS

In this project, we implemented both DFS and BFS to solve several different mazes.

Project 3: Arbitrage

In this project, we implemented Bellman-Ford to detect arbitrage opportunities given a set of exchange rates between currencies.

Project 4: MST/TSP

In this project, we implemented both Prim’s and Kruskal’s algorithms for finding a Minimum Spanning Tree. We then use that MST to approximate the solution for the Traveling Salesman Problem.

Authors

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages