easy can be done in O(n) time and in O(1)

On Fri, Aug 12, 2011 at 3:47 PM, Raghavan <its...@gmail.com> wrote:

> A huge paragraph has irregular spaces between the words, how to
> "effectively" we can make everything to single space.
>
>
> Example : "My     name   is xyz"
> Should to converted to : "My name is xyz"
>
>
> --
> Thanks and regards,
> Raghavan.K.L
> <http://in.linkedin.com/in/raghavankl>
>
>  --
> 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
SAGAR PAREEK
COMPUTER SCIENCE AND ENGINEERING
NIT ALLAHABAD

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