https://github.com/emgyrz/catalan_parentheses
https://github.com/emgyrz/catalan_parentheses
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/emgyrz/catalan_parentheses
- Owner: emgyrz
- Created: 2019-10-02T01:35:37.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-03T22:06:46.000Z (over 5 years ago)
- Last Synced: 2025-01-03T09:20:53.797Z (5 months ago)
- Language: Rust
- Size: 8.79 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Parentheses and Catalan Numbers
Some algorithms to generate all possible N pairs of balanced parentheses.
Faster than ever before!!!11`
### Run
```sh
#
go run algorithm1.go N
#
rustc -C opt-level=3 algorithm2.rs && ./algorithm2 N
#
g++ -O3 algorithm3.cpp && ./a.out N
#
./algorithm2.js N
```