Write a function that evaluates whether a string has balanced brackets.
Algorithm input consists of a string. Brackets are [
, ]
, (
, )
, {
, and }
. If the brackets are balanced then true is returned else false.
Whiteboard Images
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
Write a function that evaluates whether a string has balanced brackets.
Algorithm input consists of a string. Brackets are [
, ]
, (
, )
, {
, and }
. If the brackets are balanced then true is returned else false.
Whiteboard Images