You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Good morning! Here's your coding interview problem for today.
This problem was asked by Google.
You're given a string consisting solely of (, ), and *. * can represent either a (, ), or an empty string. Determine whether the parentheses are balanced.
For example, (()* and (*) are balanced. )*( is not balanced.
The text was updated successfully, but these errors were encountered:
Good morning! Here's your coding interview problem for today.
This problem was asked by Google.
You're given a string consisting solely of
(, ), and *
. * can represent either a(, )
, or an empty string. Determine whether the parentheses are balanced.For example,
(()*
and(*)
are balanced.)*(
is not balanced.The text was updated successfully, but these errors were encountered: