---
title: "Discussion on \"Java Solution - LeetCode Problem 20 Valid Parentheses\" | Hashnode"
description: "Discussion on \"Java Solution - LeetCode Problem 20 Valid Parentheses\". Problem Description:\nGiven a string s containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.\nAn input string is valid if:\n\nOpen brackets must be closed by the same type of brackets.\nOpen brackets must ..."
url: "https://hashnode.com/posts/java-solution-leetcode-problem-20-valid-parentheses/62fb4778487458d353e74a8e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Java Solution - LeetCode Problem 20 Valid Parentheses](https://vks.hashnode.dev/java-solution-leetcode-problem-20-valid-parentheses?utm_source=hashnode&utm_medium=feed)

Problem Description: Given a string s containing just the characters '(', ')', '{', '}', '\[' and '\]', determine if the input string is valid. An input string is valid if: Open brackets must be closed by the same type of brackets. Open brackets must ...

Aug 16, 2022 · 1 min read · vks.hashnode.dev  
Read the article

-   [#java](https://hashnode.com/tag/java)
-   [#competitive-programming](https://hashnode.com/tag/competitive-programming)
-   [#problem-solving-skills](https://hashnode.com/tag/problem-solving-skills)
-   [#leetcode](https://hashnode.com/tag/leetcode)

## Written by

[V Krishnasubramaniam](https://hashnode.com/@vks)

@vks

  
[View profile](https://hashnode.com/@vks)

Full Stack Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
