finding all permutation of words in a sentence.

Posted by Nikhil K on Stack Overflow See other posts from Stack Overflow or by Nikhil K
Published on 2010-04-14T08:22:53Z Indexed on 2010/04/14 8:33 UTC
Read the original article Hit count: 228

Filed under:
|
|

how can i get all permutation of words in a sentence.can you give a sample c# code for that? eg: if the sentence is "C# not java", the output should be, 1)c# not java 2)c# java not 3)java not c# 4)java c# not 5)not java c# 6)not c# java etc.

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET