From 1e8b4a754ac7a0100fa9349a2a678842ef94de8c Mon Sep 17 00:00:00 2001 From: Mayank17M Date: Sun, 5 Sep 2021 16:18:43 +0530 Subject: [PATCH] Change header and add reference in Travelling Salesman problem --- graph/travelling_salesman_problem.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/graph/travelling_salesman_problem.cpp b/graph/travelling_salesman_problem.cpp index 24bead509..44a61d387 100644 --- a/graph/travelling_salesman_problem.cpp +++ b/graph/travelling_salesman_problem.cpp @@ -4,7 +4,12 @@ // the origin city? // This is the naive approach to solve this problem. -#include +// References: +// https://en.wikipedia.org/wiki/Travelling_salesman_problem + +#include +#include +#include using namespace std; int TravellingSalesmanProblem(vector> cities, int src, int V) {