Azienda coinvolta
Q. Write a program to remove unwanted parenthesis in an expression
Anonimo
They preferred a solution in Java, I did code in Java and used stack to add the braces from reverse and pop them off if they matched.
Is this question was in first round.
Non lasciarti sfuggire opportunità e informazioni privilegiate seguendo le aziende dove vorresti lavorare.
Ricevi suggerimenti e aggiornamenti personalizzati avviando le tue ricerche.