-1

i need to "permutate" my name in all different ways possible, but don't know how. It is for a console application written in C# and need to then save it in a dictionary. Name is Jake.

looking for a output of: JAKE jake JaKe j@k3 J@KE ect.

please help

G Joubert
  • 13
  • 2
  • You have to *explain the rules*. E.g. if `Jаke` (cyrillic `а`) is a valid permutation? What about `j_ke`? etc. – Dmitry Bychenko Nov 09 '16 at 09:59
  • The only way that i found... "re-shuffles" the letters... there must be a grouping way of keeping the letters in order? and just add different characters per place. eg. {Jj}{aA@}{Kk}{eE3} – G Joubert Nov 09 '16 at 10:00
  • the only characters i can use is: jJ, aA@, kK, eE3 – G Joubert Nov 09 '16 at 10:03

1 Answers1

0

You can refer to this URL which answers similar kind of question. This provides the all permutations of a string/integer.

Listing all permutations of a string/integer

Community
  • 1
  • 1
Rohit Chopra
  • 477
  • 1
  • 4
  • 11