Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 {[(])}.
- Host: GitHub
- URL: https://github.com/arodr967/balancedparentheses
- Owner: arodr967
- Created: 2015-07-03T17:29:58.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-07-03T17:33:57.000Z (over 9 years ago)
- Last Synced: 2023-03-01T03:55:37.391Z (over 1 year ago)
- Language: Java
- Size: 113 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0