Showing 1 question
Given a valid parentheses string, split it into two disjoint subsequences that maximize the nesting depth of either resulting string. Return the assignment of characters indicating which subsequence each belongs to.
#1. Maximum Nesting Depth of Two Valid Parentheses Strings
Page 1 of 1 · 1 total