use a map<string,bool>... On Wed, Aug 3, 2011 at 5:21 PM, pacific :-) <[email protected]> wrote:
> I couldn't find the solution to this problem please help. > > Find the *first unique* string from a list of strings in *one pass.* > * > * > *unique : *It occurs only once in the list. > *one pass : *you are allowed to traverse the list only once. > > -- > regards, > chinna. > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > -- Saurabh Singh B.Tech (Computer Science) MNNIT ALLAHABAD -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
