Skip to content
This repository was archived by the owner on Feb 10, 2021. It is now read-only.

Create exercise to implement Dijkstra algorithm #5

Open
tboychuk opened this issue Oct 25, 2018 · 0 comments
Open

Create exercise to implement Dijkstra algorithm #5

tboychuk opened this issue Oct 25, 2018 · 0 comments

Comments

@tboychuk
Copy link
Collaborator

tboychuk commented Oct 25, 2018

Create new exercise called dijkstra-algorithm. Provide detailed description of the task and provide complete solution.

The main part of the exercise is to implement the algorithm. However it also requires some knowledge in OO design, and experience with text files.

You are going to implement some logic that will read data form the text file using some special format. Input data should contain the distances between vertices. Once the program loaded input data, it can compute the shortest paths using Dijkstra algorithm. It's up to you how to design and implement it.

A client of your implementation should be able to easily get a shortest path between two vertices (including distance, and the list of vertices on the route) .

Please note, that you should think how to separate the algorithm, so the code can be reused in the future for building other applications. E.g. website that allows to find the shortest path)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant