Skip to content
Sushil K Jain edited this page Mar 2, 2017 · 1 revision

Welcome to the p-c wiki!

Motivation

I wanted to write a program to find lexicographic rank of name. I wrote it. Then I moved forward to write for permutation for any strings or set of chars, with user-defined frequencies.

Also we can use this to generate Unique IDs.

Objectives

I want to describe this from perspective of user/ some client who want such software.

  • If I give you two chars '0' and '1' and a length 8, Software should be able to give me a list of all the permutations starting from '00000000' till ending to '11111111' (with correct sequence).

// imagine graphics INPUT(chars: ['0','1'], length:8) + software --> OUTPUT(array:['00000000','00000001',...on and on...,'11111110','11111111'])

Clone this wiki locally