We covered the Chapter 18 with an implementation of the static stack. We then used to stack to validate strings with curly brackets. Ex:
Valid strings:
{}
{{}}{}
{}{}{{}}{{{}}}
Invalid Strings:
}{
{}}
{}{}{{{
{{}}}
Attached are the files.