http://www.spoj.pl/forum/viewtopic.php?f=3&t=5240&p=20667&hilit=BRCKTS#p20667
if u know d basics of segment tree..then this thread will help for solving this prob :) On Sun, Mar 20, 2011 at 2:11 AM, [email protected] < [email protected]> wrote: > can any 1 explain why we have 2 use segment trees ?? > > I am under the impression that in order to distinguish correct bracket > expressions, we can just count the number of left brackets and compare that > with the number of right brackets, if they are equal then it is a correct > bracket expression. > > can u please correct me with an example if I am wrong > > Thanks, > Krishna. > > > On Sat, Mar 19, 2011 at 4:13 PM, cegprakash <[email protected]> wrote: > >> could someone plz help me with a pdf for learning segment tree? i >> don't understand the wiki page >> >> -- >> 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. >> >> > -- > 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. > -- 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.
