You are viewing a single comment's thread. Return to all comments →
Could somebody explain what the following code is doing? c != (char)s.Peek())
I know that peek() retrieves the data of the item on the top of the stack.
Seems like cookies are disabled on this browser, please enable them to open this website
Stacks: Balanced Brackets
You are viewing a single comment's thread. Return to all comments →
Could somebody explain what the following code is doing? c != (char)s.Peek())
I know that peek() retrieves the data of the item on the top of the stack.