LeetCode Question · Jun 2022 · Los Angeles

Amazon | Virtual Onsite | Score of balanced parenthesis string

2 upvotes 1,400 views 5 replies

Question Details

Given a balanced parenthesis string s count the score obtained based on the following rules: (): Score = 1 (A): Score = 2 score of A, where A is a...

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Strings