Skip to content
#

permutation-algorithms

Here are 11 public repositories matching this topic...

An efficient combinatorics library for JavaScript to generate and get the list of all Permutations and Combinations with the ability to enable or disable repetition. (utilizing ES2015 generators)

  • Updated Oct 26, 2022
  • JavaScript

Uses backtracking (DFS-style traversal) to explore all character arrangements from the input string. Tracks each recursion depth (tree level) and stores the generated paths. After recursion, it removes duplicates at each level and returns the count of all unique character paths (not just full permutations).

  • Updated Jul 11, 2024
  • JavaScript

Improve this page

Add a description, image, and links to the permutation-algorithms topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the permutation-algorithms topic, visit your repo's landing page and select "manage topics."

Learn more