Skip to content

Commit 9a3687c

Browse files
doctests in all_combinations.py
1 parent 3b593f1 commit 9a3687c

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

backtracking/all_combinations.py

-6
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,6 @@ def combination_lists(n: int, k: int) -> list[list[int]]:
1616
1717
>>> combination_lists(n=4, k=2)
1818
[[1, 2], [1, 3], [1, 4], [2, 3], [2, 4], [3, 4]]
19-
>>> combination_lists(n=5, k=3)
20-
[[1, 2, 3], [1, 2, 4], [1, 2, 5],
21-
[1, 3, 4], [1, 3, 5], [1, 4, 5],
22-
[2, 3, 4], [2, 3, 5], [2, 4, 5],
23-
[3, 4, 5]]
24-
[]
2519
>>> combination_lists(n=1, k=1)
2620
[[1]]
2721
>>> combination_lists(n=3, k=0)

0 commit comments

Comments
 (0)