The task requires to process the sequence of symbols and check the balance of the parentheses. Therefore, the variables tracking approach would be effective to solve the task. So the answer is Variables tracking.