thanks for ur reply's..i understood them..
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Algorithm Geeks group.
To post to this group, send email to algogeeks@googlegroups.com
To unsubscribe from this group, send
hi,
can some one help me in writing an algorithm for finding permuttaion
of 'n' numbers??..i have tried it many times.but not getting it...can
anyone help me..
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Can you explain what do you want exactly?
- Finding all the permutation of the numbers?
- Finding a random permutation?
- Finding the next lexicographical permutation?
- Finding the ith permutation?
Are there repeated numbers?
OuFeRRaT
On Thu, Feb 21, 2008 at 12:44 PM, [EMAIL PROTECTED]
OK,
On Thu, Feb 21, 2008 at 8:44 AM, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
hi,
can some one help me in writing an algorithm for finding permuttaion
I will assume that you want all permutation :
let's call:
- S your set of number
- pos your current position
** WARNING:
I think this is a homework question.
Any algorithm book will give you an algorithm for permutation.Try google
first.
On Thu, Feb 21, 2008 at 3:44 AM, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
hi,
can some one help me in writing an algorithm for finding permuttaion
of 'n' numbers??..i