Meta Interview Question

Write a program to identify correct use of parenthesis

Interview Answer

Anonymous

Apr 19, 2017

Used a stack to push on when you read an open and pop when you read a close. Then updated a count to ensure the correct use.