13,050,242 members (99,056 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 260 Sheila Pontes 125 Graeme_Grant 109 Kornfeld Eliyahu Peter 70 Richard MacCutchan 50
 OriginalGriff 5,168 RickZeeland 1,934 ppolymorphe 1,758 F-ES Sitecore 1,566 Dave Kreskowiak 1,389