Change header and add reference in Travelling Salesman problem

This commit is contained in:
Mayank17M
2021-09-05 16:18:43 +05:30
parent 19af92fe29
commit 1e8b4a754a

View File

@@ -4,7 +4,12 @@
// the origin city? // the origin city?
// This is the naive approach to solve this problem. // 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; using namespace std;
int TravellingSalesmanProblem(vector<vector<int>> cities, int src, int V) { int TravellingSalesmanProblem(vector<vector<int>> cities, int src, int V) {