Heap’s Algorithm is NOT heap sort, and instead, it’s an algorithm to generate permutations.
At Soda Labs, we document pretty much everything. It helps us communicate and move fast in the same direction while still maintaining…