@Sagar: And how do you use hashing without extra memory? Please, please, please read the question, and don't bother to reply if you can't answer it?
Dave On Aug 24, 11:10 am, sagar pareek <sagarpar...@gmail.com> wrote: > use hashing > > On Wed, Aug 24, 2011 at 8:43 PM, UMESH KUMAR <kumar.umesh...@gmail.com>wrote: > > > Qn. Remove all duplicates words from given a line without using extra > > memory ? > > > Ex:-Hello word hello hi > > Out put:- Hello word hi > > > -- > > 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.