Skip to content

Commit ba37286

Browse files
Update searching.md
1 parent 325d501 commit ba37286

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

‎searching.md‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,14 @@ do
5757
// Process permutation
5858
} while(next_permutation(permutation.begin(), permutation.end()));
5959

60+
/*
61+
1 2 3
62+
1 3 2
63+
2 1 3
64+
2 3 1
65+
3 1 2
66+
3 2 1
67+
*/
6068

6169
// std implementation of next_permutation
6270
bool nextPermutation(std::string &s, int n)

0 commit comments

Comments
(0)