Azienda coinvolta
Write a function to check if a given string has balanced parentheses.
Anonimo
I used a stack and handled opening and closing parentheses (3 types) separately and checked if the stack was empty at the end.
Non lasciarti sfuggire opportunità e informazioni privilegiate seguendo le aziende dove vorresti lavorare.
Ricevi suggerimenti e aggiornamenti personalizzati avviando le tue ricerche.