my bad..
input : words [“bat”, “cat”, “mat”]

    text : “bat stop the mat blah blah cat by mat bat tra la la”

Output area is “cat by mat bat”

Please let me know if problem still not clear.



On Dec 29, 7:40 pm, mohit ranjan <shoonya.mo...@gmail.com> wrote:
> In area “cat by mat bat” where is "jat" and "pat" ?
>
> Can you explain more...
>
> Mohit
>
>
>
>
>
>
>
> On Wed, Dec 29, 2010 at 7:19 PM, Davin <dkthar...@googlemail.com> wrote:
> > Given set of words, find an area of the text where these words are as
> > close to each other as possible.
> > Distance is measured on number of words.
>
> > e.g. for words [rat”, “jat”, “pat”] and text “rat stop the pat blah
> > blah jat by pat jat tra la la” such area is “cat by mat bat”
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Algorithm Geeks" group.
> > To post to this group, send email to algoge...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > algogeeks+unsubscr...@googlegroups.com<algogeeks%2bunsubscr...@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 algoge...@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