LeetCode Question · Aug 2020

Amazon : Total number of valid parenthesis [Phone interview]

1 upvote 819 views 3 replies

Question Details

Given value of n the length of sequence we have to tell total number of valid parenthesis sequences. eg n=2 ans=1 {} n=3 ans=0 since n is odd not possible to form...

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Dynamic Programming