Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > finding anagrams

Reply
Thread Tools

finding anagrams

 
 
junky_fellow@yahoo.co.in
Guest
Posts: n/a
 
      09-17-2005
Can anyone suggest an algorithm to find the anagrams
of a string (using dictionary words as an input).
If you feel this is not a relevant C question please suggest
some newgroup where this may be posted.

Thanx for any help in advance ...

 
Reply With Quote
 
 
 
 
Alex Fraser
Guest
Posts: n/a
 
      09-17-2005
<> wrote in message
news: ups.com...
> Can anyone suggest an algorithm to find the anagrams
> of a string (using dictionary words as an input).
> If you feel this is not a relevant C question please suggest
> some newgroup where this may be posted.


comp.programming would be better. There are lots of ways to do this. Hint:
the word "was" has one A, one S and one W. So does the word "saw", which is
an anagram of "was".

Alex


 
Reply With Quote
 
 
 
 
Mabden
Guest
Posts: n/a
 
      09-18-2005
"Alex Fraser" <> wrote in message
news:ytydnRU9DKH-...
> <> wrote in message
> news: ups.com...
> > Can anyone suggest an algorithm to find the anagrams
> > of a string (using dictionary words as an input).
> > If you feel this is not a relevant C question please suggest
> > some newgroup where this may be posted.

>
> comp.programming would be better. There are lots of ways to do this.

Hint:
> the word "was" has one A, one S and one W. So does the word "saw",

which is
> an anagram of "was".
>


Workhome is an anagram for...

--
Mabden


 
Reply With Quote
 
Richard Heathfield
Guest
Posts: n/a
 
      09-18-2005
Mabden said:

> "Alex Fraser" <> wrote in message
> news:ytydnRU9DKH-...
>> <> wrote in message
>> news: ups.com...
>> > Can anyone suggest an algorithm to find the anagrams
>> > of a string (using dictionary words as an input).
>> > If you feel this is not a relevant C question please suggest
>> > some newgroup where this may be posted.

>>
>> comp.programming would be better. There are lots of ways to do this.

> Hint:
>> the word "was" has one A, one S and one W. So does the word "saw",

> which is
>> an anagram of "was".
>>

>
> Workhome is an anagram for...


I get 20160 different answers for this from my anagram program, but I'm
guessing the one you mean is:

mworekoh

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/2005
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)
 
Reply With Quote
 
Wolfgang Riedel
Guest
Posts: n/a
 
      09-19-2005
Richard Heathfield wrote:
>
> Mabden said:
>
> > "Alex Fraser" <> wrote in message
> > news:ytydnRU9DKH-...
> >> <> wrote in message
> >> news: ups.com...
> >> > Can anyone suggest an algorithm to find the anagrams
> >> > of a string (using dictionary words as an input).
> >> > If you feel this is not a relevant C question please suggest
> >> > some newgroup where this may be posted.
> >>
> >> comp.programming would be better. There are lots of ways to do this.

> > Hint:
> >> the word "was" has one A, one S and one W. So does the word "saw",

> > which is
> >> an anagram of "was".
> >>

> >
> > Workhome is an anagram for...

>
> I get 20160 different answers for this from my anagram program, but I'm
> guessing the one you mean is:
>
> mworekoh
>

how, o kmer?
 
Reply With Quote
 
Richard Heathfield
Guest
Posts: n/a
 
      09-19-2005
Wolfgang Riedel said:

> Richard Heathfield wrote:
>>
>> Mabden said:
>>
>> > "Alex Fraser" <> wrote in message
>> > news:ytydnRU9DKH-...
>> >> <> wrote in message
>> >> news: ups.com...
>> >> > Can anyone suggest an algorithm to find the anagrams
>> >> > of a string (using dictionary words as an input).
>> >> > If you feel this is not a relevant C question please suggest
>> >> > some newgroup where this may be posted.
>> >>
>> >> comp.programming would be better. There are lots of ways to do this.
>> > Hint:
>> >> the word "was" has one A, one S and one W. So does the word "saw",
>> > which is
>> >> an anagram of "was".
>> >>
>> >
>> > Workhome is an anagram for...

>>
>> I get 20160 different answers for this from my anagram program, but I'm
>> guessing the one you mean is:
>>
>> mworekoh
>>

> how, o kmer?


o.k., he worm!

(Can we take the other 20157 followups as read?)

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/2005
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)
 
Reply With Quote
 
Mabden
Guest
Posts: n/a
 
      09-22-2005
"Richard Heathfield" <> wrote in message
news:dglvbq$fu2$...
> Wolfgang Riedel said:
>
> > Richard Heathfield wrote:
> >>
> >> Mabden said:
> >>
> >> > "Alex Fraser" <> wrote in message
> >> > news:ytydnRU9DKH-...
> >> >> <> wrote in message
> >> >> news: ups.com...
> >> >> > Can anyone suggest an algorithm to find the anagrams
> >> >> > of a string (using dictionary words as an input).
> >> >> > If you feel this is not a relevant C question please suggest
> >> >> > some newgroup where this may be posted.
> >> >>
> >> >> comp.programming would be better. There are lots of ways to do

this.
> >> > Hint:
> >> >> the word "was" has one A, one S and one W. So does the word

"saw",
> >> > which is
> >> >> an anagram of "was".
> >> >>
> >> >
> >> > Workhome is an anagram for...
> >>
> >> I get 20160 different answers for this from my anagram program, but

I'm
> >> guessing the one you mean is:
> >>
> >> mworekoh
> >>

> > how, o kmer?

>
> o.k., he worm!
>
> (Can we take the other 20157 followups as read?)


ho, me ok R/W.


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
My code to determine whether two words are anagrams won't work. Felipe Ribeiro C Programming 20 07-05-2009 11:31 AM
Anagrams cokofreedom@gmail.com Python 9 10-29-2007 03:10 AM
Finding Server... Finding Host.... enough already!!! Leesa_Tay@softhome.net Computer Support 2 01-20-2006 10:23 AM
is this a good way to find anagrams? travis laduke Ruby 8 12-10-2005 04:49 PM
Help finding wireless network OVS Wireless Networking 3 08-16-2004 10:09 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57