https://github.com/sugidaffection/balanced-brackets
Balanced Brackets
https://github.com/sugidaffection/balanced-brackets
algorithms rust
Last synced: about 1 year ago
JSON representation
Balanced Brackets
- Host: GitHub
- URL: https://github.com/sugidaffection/balanced-brackets
- Owner: sugidaffection
- Created: 2020-01-24T05:11:51.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-24T05:20:57.000Z (over 6 years ago)
- Last Synced: 2025-01-03T23:12:35.043Z (over 1 year ago)
- Topics: algorithms, rust
- Language: Rust
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# balanced-brackets
Balanced Brackets
## Examples
```rust
is_balanced("()") //true
is_balanced("{}") //true
is_balanced("[]") //true
is_balanced("[{}]") //true
is_balanced("([{}])") //true
is_balanced("{]") //false
```