From 24df52abd4360b98600e4ea71c80872c86d3ca46 Mon Sep 17 00:00:00 2001 From: Panquesito7 Date: Wed, 8 Jul 2020 11:34:34 -0500 Subject: [PATCH] docs: fix return statement in minimax.cpp --- backtracking/minimax.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backtracking/minimax.cpp b/backtracking/minimax.cpp index ca327dc8f..802537488 100644 --- a/backtracking/minimax.cpp +++ b/backtracking/minimax.cpp @@ -14,7 +14,7 @@ * @param node_index current index in array * @param is_max if current index is the longest number * @param scores saved numbers in vector - * @return if maximum or not + * @return maximum or minimum number */ int minimax(int depth, int node_index, bool is_max, const std::vector &scores, int height) {