Valid Parenthesis String

Medium

📝 Description

Check if a string with wildcards can be valid parentheses

Input Format

A string containing (, ) and *

Output Format

true/false

Constraints

1 ≤ s.length ≤ 100

🔍 Sample Input

"(*))"
            

✅ Sample Output

true
            

Code Editor

Please login to run and submit code.

Shortcuts: Ctrl+Enter to submit, Ctrl+Shift+R to run