From 6db5bfae8a45d735bedb79c81d2a1ccae2ef650d Mon Sep 17 00:00:00 2001 From: Panquesito7 Date: Fri, 26 Jun 2020 19:40:35 -0500 Subject: [PATCH] docs: Various documentation fixes --- backtracking/graph_coloring.cpp | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/backtracking/graph_coloring.cpp b/backtracking/graph_coloring.cpp index 9417bf361..f308220ad 100644 --- a/backtracking/graph_coloring.cpp +++ b/backtracking/graph_coloring.cpp @@ -55,15 +55,17 @@ void printSolution(int color[]) { std::cout << "\n"; } -// driver program to test above function +/** + * Main function + */ int main() { - /* Create following graph and test whether it is 3 colorable - (3)---(2) - | / | - | / | - | / | - (0)---(1) - */ + // Create following graph and test whether it is 3 colorable + // (3)---(2) + // | / | + // | / | + // | / | + // (0)---(1) + bool graph[V][V] = { {0, 1, 1, 1}, {1, 0, 1, 0},