Skip to content

Conversation

@yarncha
Copy link
Contributor

@yarncha yarncha commented Nov 26, 2020

Pull Request Template

Description

Like many other parentheses questions, this question is a stack problem. To solve it, I should calculate how many parentheses are needed. The input value of this question is a parentheses string, so I checked it's characters one by one and push&pop parentheses to stack.

Put check marks:

Have you made changes in README file ?

  • Added problem & solution under correct topic.
  • Specified Space & Time complexity.
  • Specified difficulty level, tag & Note(if any).

How Has This Been Tested?

Used these inputs to test code.

  • S = "(()))(("
  • S = "))(("

Make sure all below guidelines are followed else PR will get Reject:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code so that it is easy to understand
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules

@welcome
Copy link

welcome bot commented Nov 26, 2020

I can tell this is your first pull request! Thank you I'm so honored. 🎉🎉🎉 I'll take a look at it ASAP!

@GouravRusiya30 GouravRusiya30 merged commit c5943dc into codedecks-in:master Dec 5, 2020
@welcome
Copy link

welcome bot commented Dec 5, 2020

Your code looks great! Congrats, I've gone ahead and merged your first pull request! Keep it up! alt text

lavjain pushed a commit to lavjain/LeetCode-Solutions that referenced this pull request Feb 24, 2023
Co-authored-by: Chi Hi Ong <[email protected]>
Co-authored-by: Gourav Rusiya <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants