An open API service indexing awesome lists of open source software.

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

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
```