Exadatum Interview Question

balanced parathesis code