View on GitHub

AIAlgorithms

Diverse algorithms related to Machine Learning

K - Nearest Neighbour

Getting started: the travelling salesman problem

The original travelling salesman problem tries to came up with an answer for this question: “Given a list of cities and the distances between each pair of cities, what is the shortest possible route that visits each city exactly once and returns to the origin city?”

This problem has multiple ways of answering it, and the wikipedia page is actually a good start for an overview of all the possibilities.