LIFO data structure problems — choose a problem to visualize
Trace stack pushes and pops while validating balanced brackets.