From c6bc37a26cd0e9c7b53d8aa91ee183db05d8f4f3 Mon Sep 17 00:00:00 2001 From: Deven <63876261+devenperez@users.noreply.github.com> Date: Sat, 29 Nov 2025 20:33:08 -0500 Subject: [PATCH] Create README - LeetHub --- 0678-valid-parenthesis-string/README.md | 29 +++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 0678-valid-parenthesis-string/README.md diff --git a/0678-valid-parenthesis-string/README.md b/0678-valid-parenthesis-string/README.md new file mode 100644 index 0000000..ea463e5 --- /dev/null +++ b/0678-valid-parenthesis-string/README.md @@ -0,0 +1,29 @@ +

678. Valid Parenthesis String

Medium


Given a string s containing only three types of characters: '(', ')' and '*', return true if s is valid.

+ +

The following rules define a valid string:

+ + + +

 

+

Example 1:

+
Input: s = "()"
+Output: true
+

Example 2:

+
Input: s = "(*)"
+Output: true
+

Example 3:

+
Input: s = "(*))"
+Output: true
+
+

 

+

Constraints:

+ +