Skip to content

jackychu0830/balanced_brackets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

You have a string with different type of brackets inside. Ex. '(1+2)*6, 7, 9{}'. Write a program which returns True if string is balanced (each opening bracket has closing one) or not. Closing brackets should go only after opening. This string: '{})(' is not balanced.

About

Check the brackets in a string are balanced

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages