For example, if you store char of symbols "( {" into a stack, how would you make a comparison to say that the correct corresponding symbols are the closing "} )" characters?
I will probably get lots of down votes because of how short my question is, but I haven't got a single clue on how to compare an open symbol to a closing symbol, nor find an efficient source online.
I'm thinking maybe I could try making a boolean function and say if '(' && ')' then return true.