Skip to content

Commit 6385805

Browse files
committed
remove old comment
1 parent f907ad8 commit 6385805

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

backtracking/all_permutations.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -73,20 +73,6 @@ def create_state_space_tree(
7373
current_sequence.pop()
7474
index_used[i] = False
7575

76-
77-
"""
78-
remove the comment to take an input from the user
79-
80-
print("Enter the elements")
81-
sequence = list(map(int, input().split()))
82-
"""
83-
84-
sequence: list[int | str] = [3, 1, 2, 4]
85-
generate_all_permutations(sequence)
86-
87-
sequence_2: list[int | str] = ["A", "B", "C"]
88-
generate_all_permutations(sequence_2)
89-
9076
if __name__ == "__main__":
9177
# --- Example 1: Integers ---
9278
print("--- Permutations for [3, 1, 2, 4] ---")

0 commit comments

Comments
 (0)