Skip to content

Commit d51b34e

Browse files
authored
Update Permutation_of_string.cpp div-bargali#605
Update Permutation_of_string.cpp
2 parents eca3f4b + 44f4658 commit d51b34e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

C++/Algorithms/Backtracking/Permutation_of_string.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ using namespace std;
33

44
// Function to find all Permutations of a given string str[i..n-1]
55
// containing all distinct characters
6-
void permutations(string str, int i, int n)
6+
void permutations(string str, int i, int n,int j, int k )
77
{
88
// base condition
99
if (i == n - 1)

0 commit comments

Comments
 (0)