Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/arodr967/balancedparentheses

Determine if a string has balanced parentheses. Write a program BalancedParentheses in Java that reads in a text stream from standard input and uses a stack to determine whether its parentheses are properly balanced. For example, your program should print true for [()]{}[{[()()]()}] and false for {[(])}.
https://github.com/arodr967/balancedparentheses

Last synced: 19 days ago
JSON representation

Determine if a string has balanced parentheses. Write a program BalancedParentheses in Java that reads in a text stream from standard input and uses a stack to determine whether its parentheses are properly balanced. For example, your program should print true for [()]{}[{[()()]()}] and false for {[(])}.

Awesome Lists containing this project