Determine the minimum number of parentheses needed to balance a given string. | Meta Interview Question | Practice Free | SkillVee