Microsoft Interview Question

Determine whether parentheses are properly matched on a string.

Interview Answer

Anonymous

Aug 11, 2016

Regex.Match(@"^(\().*(\))$");