Skip to content

Travelling Dealer Algorithm Android Project with Kotlin

Notifications You must be signed in to change notification settings

caneryilmaz52/TravellingDealer

Repository files navigation

TravellingDealer

Travelling Dealer Algorithm Android Project with Kotlin

In this example we’re going to help a dealer in order to reduce the cost of his/her sale operation.

Description

alt text

As you may notice, image represents the customers (8 units) and a factory. Dealer should travel to his/her customers by using the shortest path. The dealer must visit the factory aer every customer visitation.

We need to calculate the total distance that dealer need to travel in order to visit each customer.

You should implement your own data structure(LinkedList). You can implement it either in Kotlin or Java.

Store each shortest path in your own Node. Then, by implementing the “sumOfNodes” method you could solve the problem. At the end clean all nodes by implementing “deleteNode” method.

About

Travelling Dealer Algorithm Android Project with Kotlin

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages