Click here to Skip to main content
15,912,400 members
Home / Discussions / C#
   

C#

 
GeneralRe: Convert into Url from Socket Pin
OriginalGriff25-Feb-11 23:23
mveOriginalGriff25-Feb-11 23:23 
GeneralRe: Convert into Url from Socket Pin
Anubhava Dimri26-Feb-11 1:53
Anubhava Dimri26-Feb-11 1:53 
GeneralRe: Convert into Url from Socket Pin
OriginalGriff26-Feb-11 2:00
mveOriginalGriff26-Feb-11 2:00 
GeneralRe: Convert into Url from Socket Pin
Anubhava Dimri27-Feb-11 17:18
Anubhava Dimri27-Feb-11 17:18 
Questionkeyword "dynamic" - real world applications? Pin
devvvy25-Feb-11 17:23
devvvy25-Feb-11 17:23 
AnswerRe: keyword "dynamic" - real world applications? Pin
SledgeHammer0125-Feb-11 17:50
SledgeHammer0125-Feb-11 17:50 
AnswerRe: keyword "dynamic" - real world applications? Pin
i.j.russell26-Feb-11 10:32
i.j.russell26-Feb-11 10:32 
QuestionRecursive Permutation Generator. Pin
shivamkalra25-Feb-11 13:37
shivamkalra25-Feb-11 13:37 
Hi,

I've an assignment to make a program that should generate all the permutations of a string one by one. I know many algorithm of generating permutations using recursion, but question has asked to generate it one by one. So deliverable should contain a class called "PermutationIterator" which should have a method "hasNextPermutation" and "nextPermutation". They have given one hint, make a "tailIterator" object of type "PermutationIterator" inside a "PermutationIterator" class (like a node of LinkedList) and then do some funny things with it. I can't figure out where should I start....any help would be appreciated.

Note: You can't generate all permutations at one time, then store it into an array and then call each of them one by one. Please don not suggest this way.

Thank you
Shivam Kalra
AnswerRe: Recursive Permutation Generator. Pin
PIEBALDconsult25-Feb-11 14:53
mvePIEBALDconsult25-Feb-11 14:53 
GeneralRe: Recursive Permutation Generator. Pin
Luc Pattyn25-Feb-11 15:01
sitebuilderLuc Pattyn25-Feb-11 15:01 
GeneralRe: Recursive Permutation Generator. Pin
PIEBALDconsult28-Feb-11 1:46
mvePIEBALDconsult28-Feb-11 1:46 
GeneralRe: Recursive Permutation Generator. Pin
shivamkalra25-Feb-11 16:47
shivamkalra25-Feb-11 16:47 
AnswerRe: Recursive Permutation Generator. Pin
Luc Pattyn25-Feb-11 15:02
sitebuilderLuc Pattyn25-Feb-11 15:02 
GeneralRe: Recursive Permutation Generator. Pin
shivamkalra25-Feb-11 16:39
shivamkalra25-Feb-11 16:39 
AnswerRe: Recursive Permutation Generator. Pin
Luc Pattyn25-Feb-11 16:58
sitebuilderLuc Pattyn25-Feb-11 16:58 
GeneralRe: Recursive Permutation Generator. Pin
shivamkalra25-Feb-11 17:22
shivamkalra25-Feb-11 17:22 
GeneralRe: Recursive Permutation Generator. Pin
Luc Pattyn25-Feb-11 17:32
sitebuilderLuc Pattyn25-Feb-11 17:32 
GeneralRe: Recursive Permutation Generator. Pin
shivamkalra25-Feb-11 17:53
shivamkalra25-Feb-11 17:53 
AnswerRe: Recursive Permutation Generator. Pin
Luc Pattyn25-Feb-11 17:58
sitebuilderLuc Pattyn25-Feb-11 17:58 
GeneralRe: Recursive Permutation Generator. Pin
shivamkalra25-Feb-11 18:20
shivamkalra25-Feb-11 18:20 
AnswerRe: Recursive Permutation Generator. [modified] Pin
Luc Pattyn25-Feb-11 17:14
sitebuilderLuc Pattyn25-Feb-11 17:14 
QuestionHelp with diagnosing a service failing [modified] Pin
turbosupramk325-Feb-11 11:15
turbosupramk325-Feb-11 11:15 
AnswerRe: Help with diagnosing a service failing Pin
RobCroll25-Feb-11 12:22
RobCroll25-Feb-11 12:22 
GeneralRe: Help with diagnosing a service failing Pin
turbosupramk325-Feb-11 12:37
turbosupramk325-Feb-11 12:37 
GeneralRe: Help with diagnosing a service failing Pin
RobCroll25-Feb-11 13:12
RobCroll25-Feb-11 13:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.