kelvins / algorithms-and-data-structures

:abacus: Algorithms and Data Structures in several Programming Languages
MIT License
1.04k stars 258 forks source link

Create traveling_salesman.py #278

Closed AaryaNale closed 10 months ago

AaryaNale commented 11 months ago

Added code

Description

The Traveling Salesman Problem (TSP) is a classic optimization challenge, where a salesperson seeks the shortest path to visit a set of cities once, returning to the starting point.

AaryaNale commented 11 months ago

@kelvins Can you please review and suggest changes?

AaryaNale commented 11 months ago

Fixed linter