Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages