Re: [algogeeks] remove duplicate words in a string

2011-08-05 Thread Anika Jain
@vaibhav : the question was for this input output shall be where there is a
will way

On Fri, Aug 5, 2011 at 1:51 PM, vaibhav shukla wrote:

> Given a string,remove all duplicates words:
>
> input: where there is a will there is a way
>
> o/p : where will way.
>
> --
>   best wishes!!
> Vaibhav
>   MCA
>
>  --
> 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.



[algogeeks] remove duplicate words in a string

2011-08-05 Thread vaibhav shukla
Given a string,remove all duplicates words:

input: where there is a will there is a way

o/p : where will way.

-- 
  best wishes!!
Vaibhav
  MCA

-- 
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.