### Abstract

Parallel parenthesis-matching algorithm has in the past been used to design parallel algorithms for generation of computation tree forms and parsing. In this paper we present a parallel parenthesis-matching algorithm. A variant of binary search tree is constructed in parallel. The search tree is used to find the matching of each parenthesis. The algorithm takes O(log n) time on a (n / log n)-processor CREW-PRAM. We also present an O(log n)-time parallel algorithm for generation of random sequences of parentheses. These two algorithms can be used to design an O(log n)-time parallel algorithm for generation of a class of random permutations.

Original language | English (US) |
---|---|

Title of host publication | Supercomputing - 1st International Conference, Proceedings |

Editors | Theodore S. Papatheodorou, Constantine D. Polychronopoulos, Elias N. Houstis |

Publisher | Springer Verlag |

Pages | 970-984 |

Number of pages | 15 |

ISBN (Print) | 9783540189916 |

DOIs | |

State | Published - Jan 1 1988 |

Externally published | Yes |

Event | 1st International Conference on Supercomputing, 1987 - Athens, Greece Duration: Jun 8 1987 → Jun 12 1987 |

### Publication series

Name | Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) |
---|---|

Volume | 297 LNCS |

ISSN (Print) | 0302-9743 |

ISSN (Electronic) | 1611-3349 |

### Other

Other | 1st International Conference on Supercomputing, 1987 |
---|---|

Country | Greece |

City | Athens |

Period | 6/8/87 → 6/12/87 |

### Fingerprint

### ASJC Scopus subject areas

- Theoretical Computer Science
- Computer Science(all)

### Cite this

*Supercomputing - 1st International Conference, Proceedings*(pp. 970-984). (Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics); Vol. 297 LNCS). Springer Verlag. https://doi.org/10.1007/3-540-18991-2_57

**Parallel algorithms for parenthesis matching and generation of random balanced sequences of parentheses.** / Sarkar, Dilip; Deo, Narsingh.

Research output: Chapter in Book/Report/Conference proceeding › Conference contribution

*Supercomputing - 1st International Conference, Proceedings.*Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), vol. 297 LNCS, Springer Verlag, pp. 970-984, 1st International Conference on Supercomputing, 1987, Athens, Greece, 6/8/87. https://doi.org/10.1007/3-540-18991-2_57

}

TY - GEN

T1 - Parallel algorithms for parenthesis matching and generation of random balanced sequences of parentheses

AU - Sarkar, Dilip

AU - Deo, Narsingh

PY - 1988/1/1

Y1 - 1988/1/1

N2 - Parallel parenthesis-matching algorithm has in the past been used to design parallel algorithms for generation of computation tree forms and parsing. In this paper we present a parallel parenthesis-matching algorithm. A variant of binary search tree is constructed in parallel. The search tree is used to find the matching of each parenthesis. The algorithm takes O(log n) time on a (n / log n)-processor CREW-PRAM. We also present an O(log n)-time parallel algorithm for generation of random sequences of parentheses. These two algorithms can be used to design an O(log n)-time parallel algorithm for generation of a class of random permutations.

AB - Parallel parenthesis-matching algorithm has in the past been used to design parallel algorithms for generation of computation tree forms and parsing. In this paper we present a parallel parenthesis-matching algorithm. A variant of binary search tree is constructed in parallel. The search tree is used to find the matching of each parenthesis. The algorithm takes O(log n) time on a (n / log n)-processor CREW-PRAM. We also present an O(log n)-time parallel algorithm for generation of random sequences of parentheses. These two algorithms can be used to design an O(log n)-time parallel algorithm for generation of a class of random permutations.

UR - http://www.scopus.com/inward/record.url?scp=84942209893&partnerID=8YFLogxK

UR - http://www.scopus.com/inward/citedby.url?scp=84942209893&partnerID=8YFLogxK

U2 - 10.1007/3-540-18991-2_57

DO - 10.1007/3-540-18991-2_57

M3 - Conference contribution

SN - 9783540189916

T3 - Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)

SP - 970

EP - 984

BT - Supercomputing - 1st International Conference, Proceedings

A2 - Papatheodorou, Theodore S.

A2 - Polychronopoulos, Constantine D.

A2 - Houstis, Elias N.

PB - Springer Verlag

ER -