Skip to content

Commit cc34095

Browse files
author
Runzhen Wang
committed
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.
1 parent 60a44ba commit cc34095

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

C++/chapDFS.tex

+1-1
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,7 @@ \subsubsection{描述}
659659
Note:
660660
\begindot
661661
\item All numbers (including target) will be positive integers.
662-
\item Elements in a combination ($a_1, a_2, ..., a_k$) must be in non-descending order. (ie, $a_1 > a_2 > ... > a_k$).
662+
\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$).
663663
\item The solution set must not contain duplicate combinations.
664664
\myenddot
665665

0 commit comments

Comments
 (0)