mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-05-08 15:14:01 +08:00
Change header and add reference in Travelling Salesman problem
This commit is contained in:
@@ -4,7 +4,12 @@
|
||||
// the origin city?
|
||||
// This is the naive approach to solve this problem.
|
||||
|
||||
#include <bits/stdc++.h>
|
||||
// References:
|
||||
// https://en.wikipedia.org/wiki/Travelling_salesman_problem
|
||||
|
||||
#include <algorithm>
|
||||
#include <iostream>
|
||||
#include <vector>
|
||||
using namespace std;
|
||||
|
||||
int TravellingSalesmanProblem(vector<vector<int>> cities, int src, int V) {
|
||||
|
||||
Reference in New Issue
Block a user