← All problems
Medium · Greedy

Valid Parenthesis String

Can stars stand for an opening bracket, closing bracket or nothing to balance the string?

Full problem and submission ↗
main.js

Console

Ready