We talked about the problem of removing as many parentheses as possible: http://groups.google.com/group/algogeeks/browse_thread/thread/26ce36ad34dce9dc/e8fb40ab2ba0ecc0
You didn't define "duplicate." For (a*b)+c, the parens don't add any information. Should they be removed? The algorithm given in the article above does that. On Dec 10, 6:22 pm, rahul venkat <[email protected]> wrote: > hi everyone, > > can u suggest an algorithm for finding the duplicate paranthesis in a given > expression ? > > for example , the expression (( a + b ) * (( c + d ))) has a set of > duplicate paranthesis. > > thanks in advance . -- 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.
