Meta interview question

Write a program to identify correct use of parenthesis

Interview Answer

Anonymous

19 Apr 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.