Skip to content
#

permutations

Here are 62 public repositories matching this topic...

A Python-based Rubik's Cube simulator and visualizer using matrix algebra for efficient representation, manipulation, and visualization of the cube's state. Includes a group theory approach to cube operations and a proof-of-concept visualization module using Matplotlib.

  • Updated Jul 3, 2025
  • Python

First program accepts as an input a permutation and prints the permutation rank in the lexicpgraphic order of all same length permutations. Second program accepts two integers n and k as inputs and prints the permutation of [n] which is at position k in the lexicographic order of all its permutations of [n].

  • Updated Oct 14, 2019
  • Python

Improve this page

Add a description, image, and links to the permutations 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 permutations topic, visit your repo's landing page and select "manage topics."

Learn more