Epic interview question

Input a string "(asd{Pdf[df]d}vfv) " Output are all brackets balanced?

Interview Answer

Anonymous

22 Feb 2012

Just use a Stack to check