29 of 37 Problem 2 Pseudocode for each bracket in string : if stack is empty return true if it is a starting bracket: push it onto stack if the popped character is not the matching opening bracket: return false if it is a closing bracket: pop from the stack