solulubeta
Sign in
NeetCode 150 / Greedy
15.08 · Problem

Valid Parenthesis String

Medium Greedy range of open counts 1 video LC 678 Pro

This problem is part of solulu Pro

s contains (, ) and *, where each * can be treated as (, ) or an empty string. Return true if some choice makes s a valid parenthesis string.

Lifetime ₹1,999 ₹999 · Launch offer
Mark this problem as solved when you are finished.

Item 129 of 150 · updated 2026-10-12