@vikas : to do BFS ..first you have to create tree . so what basis will you
create a tree ? a dictionary can contains thousandss of word , just by
taking arbitrary word from the dictionary and  creating tree .... i guess
will take lot of time.

@tech coder :  target will be the words from the dictionary .

On Sat, Nov 26, 2011 at 6:19 PM, vikas <vikas.rastogi2...@gmail.com> wrote:

> this is well known problem, use the BFS traversal / Backtracking
>
> On Nov 26, 3:54 pm, tech coder <techcoderonw...@gmail.com> wrote:
> > i think edit distance algorithm can not be used here because in edit
> > distance problem we have a target string and a source string. Here we
> dont
> > have any target word.
> > I think trie can be used with some preprocessing.
> >
> > On Thu, Nov 24, 2011 at 11:59 PM, atul anand <atul.87fri...@gmail.com
> >wrote:
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > >http://blog.notdot.net/2007/4/Damn-Cool-Algorithms-Part-1-BK-Trees
> >
> > > this would help.
> >
> > > On Thu, Nov 24, 2011 at 9:49 PM, Vijay Meena <vijay...@gmail.com>
> wrote:
> >
> > >> Can you please elaborate...
> >
> > >> On Thu, Nov 24, 2011 at 12:14 AM, atul anand <atul.87fri...@gmail.com
> >wrote:
> >
> > >>> yes levenshtein distance and BK tree can be used to solve this.
> > >>> where edge weight between nodes is equal to levenshtein distance.
> >
> > >>> On Wed, Nov 23, 2011 at 7:14 PM, abhishek kumar <
> afs.abhis...@gmail.com>wrote:
> >
> > >>>> You are given a word and a dictionary. Now propose an algorithm edit
> > >>>> the word (insert / delete characters) minimally to get a word that
> > >>>> also exists in the dictionary. Cost of insertion and deletion is
> same.
> > >>>> Write pseudocode for it.
> >
> > >>>> Seems like minimum edit distance problem but some modification is
> > >>>> needed.
> >
> > >>>> --
> > >>>> Abhishek Kumar
> > >>>> B.Tech(IT) Graduate
> > >>>> Allahabad
> > >>>> Contact no-+919663082731
> >
> > >>>> --
> > >>>> You received this message because you are subscribed to the Google
> > >>>> Groups "Algorithm Geeks" group.
> > >>>> To post to this group, send email to algogeeks@googlegroups.com.
> > >>>> To unsubscribe from this group, send email to
> > >>>> algogeeks+unsubscr...@googlegroups.com.
> > >>>> For more options, visit this group at
> > >>>>http://groups.google.com/group/algogeeks?hl=en.
> >
> > >>>  --
> > >>> You received this message because you are subscribed to the Google
> > >>> Groups "Algorithm Geeks" group.
> > >>> To post to this group, send email to algogeeks@googlegroups.com.
> > >>> To unsubscribe from this group, send email to
> > >>> algogeeks+unsubscr...@googlegroups.com.
> > >>> For more options, visit this group at
> > >>>http://groups.google.com/group/algogeeks?hl=en.
> >
> > >>  --
> > >> You received this message because you are subscribed to the Google
> Groups
> > >> "Algorithm Geeks" group.
> > >> To post to this group, send email to algogeeks@googlegroups.com.
> > >> To unsubscribe from this group, send email to
> > >> algogeeks+unsubscr...@googlegroups.com.
> > >> For more options, visit this group at
> > >>http://groups.google.com/group/algogeeks?hl=en.
> >
> > >  --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "Algorithm Geeks" group.
> > > To post to this group, send email to algogeeks@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > algogeeks+unsubscr...@googlegroups.com.
> > > For more options, visit this group at
> > >http://groups.google.com/group/algogeeks?hl=en.
> >
> > --
> > *
> >
> >  Regards*
> > *"The Coder"*
> >
> > *"Life is a Game. The more u play, the more u win, the more u win , the
> > more successfully u play"*
>
> --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to algogeeks@googlegroups.com.
> To unsubscribe from this group, send email to
> algogeeks+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to