Skip to content

Latest commit

 

History

History

brackets

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Problem

Given a string containing opening and closing parentheses, check whether it’s balanced.

We have 3 types of parentheses:

  • round brackets: ()
  • square brackets: []
  • curly brackets: {}