We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3cfeb57 commit 0adba8fCopy full SHA for 0adba8f
1 file changed
backtracking/all_permutations.py
@@ -44,7 +44,7 @@ def create_state_space_tree(
44
index_used: list[int],
45
) -> None:
46
"""
47
- Creates a state space tree to iterate through each branch using DFS.
+ Generate a state space tree for the given sequence.
48
We know that each state has exactly len(sequence) - index children.
49
It terminates when it reaches the end of the given sequence.
50
0 commit comments