Skip to content

Maximal Square Solution (Leetcode) Added problem number 221 #878

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 9, 2024
Merged

Maximal Square Solution (Leetcode) Added problem number 221 #878

merged 3 commits into from
Jun 9, 2024

Conversation

vivekvardhan2810
Copy link
Contributor

@vivekvardhan2810 vivekvardhan2810 commented Jun 9, 2024

Related Issue

Fixed : #843

Description

I had Added the Solution of problem "Minimum Cost to Connect Two Groups of Points" under Leetcode Solution > 0200 - 0299> 221

Type of PR

  • Bug fix
  • Feature enhancement
  • Documentation update
  • Other (specify): _______________

Screenshots / Videos (if applicable)

[Attach any relevant screenshots or videos demonstrating the changes]

Checklist

  • I have performed a self-review of my code.
  • I have read and followed the Contribution Guidelines.
  • I have tested the changes thoroughly before submitting this pull request.
  • I have provided relevant issue numbers, screenshots, and videos after making the changes.
  • I have commented my code, particularly in hard-to-understand areas.

Additional Context

[Include any additional information or context that might be helpful for reviewers.]

Resources for Guidance

Here are some resources that may be helpful as you contribute to CodeHarborHub:

Resources for DSA Features on Our Site:

Copy link
Contributor

deepsource-io bot commented Jun 9, 2024

Here's the code health analysis summary for commits 771d6ef..e1aa16c. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource JavaScript LogoJavaScript✅ SuccessView Check ↗

💡 If you’re a repository administrator, you can configure the quality gates from the settings.

@vivekvardhan2810
Copy link
Contributor Author

Hi @ajay-dhangar , i have added solution you can review it.

And tell me the suggestions.

@ajay-dhangar ajay-dhangar added documentation Improvements or additions to documentation GSSOC'24 GirlScript Summer of Code | Contributor level2 GirlScript Summer of Code | Contributor's Levels gssoc GirlScript Summer of Code | Contributor labels Jun 9, 2024
Copy link
Member

@ajay-dhangar ajay-dhangar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

update code based on suggestions

@@ -0,0 +1,130 @@
---
id: Maximal Square
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

replace id: Maximal Square to id: maximal-square


## Problem

You are given an m x n binary $matrix$ filled with $0's$ and $1's$, find the largest square containing only $1's$ and return its area.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

replace $0's$ to 0's and $1's$ to 1's

- $m == matrix.length$
- $n == matrix[i].length$
- $1 <= m, n <= 300$
- $matrix[i][j]$ $is$ $'0'$ $or$ $'1'$
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

replace $is$ to is

Copy link

sonarqubecloud bot commented Jun 9, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@vivekvardhan2810
Copy link
Contributor Author

Hi, @ajay-dhangar resolved, can you check it and give suggestions

Copy link
Member

@ajay-dhangar ajay-dhangar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@ajay-dhangar ajay-dhangar merged commit ce29da2 into codeharborhub:main Jun 9, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation gssoc GirlScript Summer of Code | Contributor GSSOC'24 GirlScript Summer of Code | Contributor level2 GirlScript Summer of Code | Contributor's Levels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[Leetcode]: i want to add Leetcode Solution for the Problem Number 221 "Maximal Square"
2 participants