12,403,391 members (72,993 online)
Rate this:
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 11-Apr-13 6:09am
Updated 11-Apr-13 6:11am
v2
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.

Endry is a Human name...Sorry i took it for an example ..was for the moment

Rate this:

## Solution 1

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

Top Experts
Last 24hrsThis month
 OriginalGriff 353 Karthik Bangalore 230 Richard MacCutchan 177 Suvendu Shekhar Giri 175 RossMW 85
 OriginalGriff 7,346 Karthik Bangalore 3,127 ppolymorphe 3,080 Richard MacCutchan 2,308 F-ES Sitecore 2,222