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

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy