[ad_1]
In Part 2 of this Coding Challenge, I discuss Lexicographic Ordering (aka Lexical Order) and demonstrate one algorithm to iterate over all the permutations of an array.

Part 1:
Part 2:
Part 3:
Part 4:
Part 5:

Support this channel on Patreon:

Send me your questions and coding challenges!:

Contact:

Links discussed in this video:
MDN Array Reference:
Traveling Salesman on Wikipedia:
Permutation Algorithm Using Lexicographic Ordering:

Source Code for the Video Lessons:

p5.js:
Processing:

For More Coding Challenges:

Help us caption & translate this video!