Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 9c57e12

Browse files
Format description
1 parent 2bb4e9b commit 9c57e12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎lib/src/easy/20.valid_parentheses/problem.txt‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
20. Valid Parentheses
22
https://leetcode.com/problems/valid-parentheses/
33

4-
Given a string s containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.
4+
Given a string s containing just the characters '(', ')', '{', '}', '[' and ']',
5+
determine if the input string is valid.
56

67
An input string is valid if:
7-
88
Open brackets must be closed by the same type of brackets.
99
Open brackets must be closed in the correct order.
1010
Every close bracket has a corresponding open bracket of the same type.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /