How to Solve Permutations in JavaScript

The classic backtracking problem, demystified with diagrams and thorough explanations.

Jordan Moore
JavaScript in Plain English
10 min readNov 23, 2020

--

Permutations is not an easy problem. For those who haven’t seen a backtracking question before, there is no clear naive solution, and this poses a real threat for software engineers during interviews.

--

--