...

/

Exercise: Balanced Brackets

Exercise: Balanced Brackets

Check if the brackets in a string are balanced.

Problem statement

Given a string containing only square brackets, [] you are required to check whether the brackets are balanced or not. The ...