Shuffling string

P

Pasacco

Dear

I need to know a "name of suffling (algorithm)"

There are many ways to shuffle.

For example,
Given a string "aaaabbbcccd"

We can shuffle into
(1) "abcabcabcad"
or
(2) "abcabcadabc"

I want to know "how can we name different methods"

If there are some examples, let us know.
 
P

Peter Pichler

Pasacco said:
I need to know a "name of suffling (algorithm)"

Then ask in a newsgroup about algorithms.
Even better, ask Google.

This is not a question about the C programming language.
 
U

user923005

Dear

I need to know a "name of suffling (algorithm)"

There are many ways to shuffle.

For example,
Given a string "aaaabbbcccd"

We can shuffle into
(1) "abcabcabcad"
or
(2) "abcabcadabc"

I want to know "how can we name different methods"

If there are some examples, let us know.

The name you seek is called 'permutation'.
Every different ordering of the string is a different permutation.

follow-ups set.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,534
Members
45,007
Latest member
obedient dusk

Latest Threads

Top