http://jsoftware.com/pipermail/programming/2009-August/016111.html 
and the thread following it?

R.E. Boss


> -----Oorspronkelijk bericht-----
> Van: [email protected] [mailto:programming-
> [email protected]] Namens Raul Miller
> Verzonden: donderdag 25 maart 2010 19:39
> Aan: Programming forum
> Onderwerp: [Jprogramming] parenthesis balancing
> 
> Does anyone remember how to efficiently solve problems like this:
> 
> (I think we have solved similar issues in the past, but I am not
> finding the relevant messages.)
> 
> Given a list of positions for left and right parenthesis, arranged
> in ascending order:
> 
> 12 34 36 47 70
> 30 44 54 59 82
> 
> Return the positions for the right parenthesis arranged to correspond
> with their matching left parenthesis.
> 
> 30 59 44 54 82
> 
> Thank you,
> 
> --
> Raul
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to