Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

valid parentheses

{ { } [ ] [ [ [ ] ] ] } is VALID expression
          [ [ [ ] ] ]    is VALID sub-expression
  { } [ ]                is VALID sub-expression
Source by leetcode.com #
 
PREVIOUS NEXT
Tagged: #valid #parentheses
ADD COMMENT
Topic
Name
5+8 =