Published On Feb 8, 2020
In this video we will learn what permutations are and recreate Heap's Algorithm in Javascript. This is a function where, given an array of elements, it will give you all the permutation of the array. Learn this and level up your coding interview skills!
🗄 Resources:
Finished Code: https://gist.github.com/angle943/9a1d...
Wikipedia Article: https://en.wikipedia.org/wiki/Heap%27...
🔑 Key Concepts:
- Permutations
- Recursion
- Pure Function
#Algorithm #Permutations #JavaScript
show more