---
title: "Discussion on \"Leetcode 921. Minimum Add to Make Parentheses Valid\" | Hashnode"
description: "Discussion on \"Leetcode 921. Minimum Add to Make Parentheses Valid\". Intuition\n\nWe have to find number of extra brackets that would be required.\n\nif (() -> at last 1 bracket would be added => +1\n\nif ((())A -> at we need (A) ="
url: "https://hashnode.com/posts/leetcode-921-minimum-add-to-make-parentheses-valid/6707931f6239850ae5be1b26"
---

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

Discussion

# [Leetcode 921. Minimum Add to Make Parentheses Valid](https://abhishek.me/leetcode-921-minimum-add-to-make-parentheses-valid?utm_source=hashnode&utm_medium=feed)

Intuition We have to find number of extra brackets that would be required. if (() -> at last 1 bracket would be added => +1 if ((())A -> at we need (A) =

Oct 10, 2024 · 3 min read · abhishek.me  
Read the article

-   [#leetcode](https://hashnode.com/tag/leetcode)
-   [#java](https://hashnode.com/tag/java)
-   [#datastructure](https://hashnode.com/tag/datastructure)
-   [#algorithms](https://hashnode.com/tag/algorithms)
-   [#stack](https://hashnode.com/tag/stack)
-   [#problem-solving-skills](https://hashnode.com/tag/problem-solving-skills)

## Written by

[Abhishek Kumar Sharma](https://hashnode.com/@abhishekcrj27)

@abhishekcrj27 · West Bengal, India

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

I do DSA in java and a MERN-stack developer. I am lazy so I create RESTful APIs.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
