Bloomberg L.P. Interview Question: How to tell if a series of pa... | Glassdoor

Interview Question

Financial Software Developer Interview Berkeley, CA

How to tell if a series of parenthesis is valid

Answer

Interview Answer

1 Answer

0

Count the number of opens and closes. If the closes exceeds the opens you have a problem

Interview Candidate on Mar 12, 2015

Add Answers or Comments

To comment on this, Sign In or Sign Up.