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.
-
Notifications
You must be signed in to change notification settings - Fork 0
jackychu0830/balanced_brackets
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
About
Check the brackets in a string are balanced
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published