You will be given a String s. It is guaranteed that the string has equal and at least one [s and ]s. It is also guaranteed that the brackets are balanced. The string can also have other characters. ...
from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot