From cc34095bc0b8f852069fc539703d7a8aa3708c68 Mon Sep 17 00:00:00 2001 From: Runzhen Wang Date: Mon, 27 Oct 2014 22:22:44 -0700 Subject: [PATCH] Fix a typo in "Combination Sum" On the problem's website : https://oj.leetcode.com/problems/combination-sum/ the description of the problem had changed. As the Note says, elements are in non-descending order, the greater-than sign may lead to misunderstanding, and Leetcode had changed it to less-and-equal-than sign. so I updated the content in the source file. --- C++/chapDFS.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C++/chapDFS.tex b/C++/chapDFS.tex index 8da3aa33..87c4c7bf 100644 --- a/C++/chapDFS.tex +++ b/C++/chapDFS.tex @@ -659,7 +659,7 @@ \subsubsection{描述} Note: \begindot \item All numbers (including target) will be positive integers. -\item Elements in a combination ($a_1, a_2, ..., a_k$) must be in non-descending order. (ie, $a_1 > a_2 > ... > a_k$). +\item Elements in a combination ($a_1, a_2, ..., a_k$) must be in non-descending order. (ie, $a_1 \leq a_2 \leq ... \leq a_k$). \item The solution set must not contain duplicate combinations. \myenddot