Skip to content

Commit a14e1e3

Browse files
docs: improve javadoc for Combination class (#7126)
Updated class documentation to reflect that the class finds combinations instead of permutations.
1 parent 2c4bf3c commit a14e1e3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/java/com/thealgorithms/backtracking/Combination.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
import java.util.TreeSet;
88

99
/**
10-
* Finds all permutations of given array
11-
* @author Alan Piao (<a href="https://github.com/cpiao3">git-Alan Piao</a>)
10+
* Finds all combinations of a given array using backtracking algorithm * @author Alan Piao (<a href="https://github.com/cpiao3">git-Alan Piao</a>)
1211
*/
1312
public final class Combination {
1413
private Combination() {

0 commit comments

Comments
 (0)