Click here to Skip to main content
15,867,686 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Guys help me please how to solve this problem..


I have to input two string :
String 1 = afasfnsdkgsx
String 2 = ahdshgsuxcbnml

and i have to output one string from these two string,....So I input two randoms letters Strings and Output one string with ordered letters that forms a World with its meaning.

for example:

Input 1: iabcy
Input 2: enzrd

Outpu : Endry





Thank you !
Posted
Updated 11-Apr-13 6:11am
v2
Comments
Richard MacCutchan 11-Apr-13 12:24pm    
So how do you guess from those letters what word is expected? For example, I have no idea what endry means.
PleaseForgiveMe40 11-Apr-13 12:59pm    
Endry is a Human name...Sorry i took it for an example ..was for the moment

1 solution

Brute force approach: try to match every string you can form with the available characters with the entries of a dictionary.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900