Skip to content

Commit 58a534a

Browse files
author
Denis Buzmakov
authored
fixed readme
1 parent 5cf0a86 commit 58a534a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

brackets/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
## Balanced Parentheses
1+
## Balanced Brackets
22

33
### Description
4-
Given a sequence consisting of parentheses, determine whether the expression is balanced. A sequence of parentheses is balanced if every open parenthesis can be paired uniquely with a closed parenthesis that occurs after the former. Also, the interval between them must be balanced. You will be given three types of parentheses: (, {, [.
4+
Given a sequence consisting of brackets, determine whether the expression is balanced. A sequence of brackets is balanced if every open bracket can be paired uniquely with a closed bracket that occurs after the former. Also, the interval between them must be balanced. You will be given three types of brackets: (, {, [.
55

6-
`([{}])` - this is balanced parenthesis
6+
`([{}])` - this is balanced brackets
77

8-
`([{]})` - this is not balanced parenthesis
8+
`([{]})` - this is not balanced brackets

0 commit comments

Comments
 (0)