Skip to content

[Feature Request]: Adding missing solutions for Leetcode problems 308, 310, and 311. #3803

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

Closed
4 tasks done
aaryaanshh opened this issue Jul 23, 2024 · 3 comments
Closed
4 tasks done
Assignees
Labels
CodeHarborHub - Thanks for creating an issue! dsa-solution Label for solutions related to Data Structures & Algorithms. gssoc GirlScript Summer of Code | Contributor GSSOC'24 GirlScript Summer of Code | Contributor level1 GirlScript Summer of Code | Contributor's Levels

Comments

@aaryaanshh
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

Feature Description

Describe the new feature or enhancement you'd like to see:
I propose adding documented solutions for the following LeetCode problems to the project repository:

Problem 308: Range Sum Query 2D - Mutable
Problem 310: Minimum Height Trees
Problem 311: Sparse Matrix Multiplication
This involves providing clear, commented code solutions along with explanations of the approaches used for each problem.

Use Case

Use Case for Problem 308 (Range Sum Query 2D - Mutable):

Efficiently handling dynamic updates and queries on a 2D matrix, which is useful in scenarios where matrix data frequently changes and requires real-time querying.
Implementing data structures for optimized range queries and updates, applicable in various applications like gaming, financial modeling, and dynamic data analysis.
Use Case for Problem 310 (Minimum Height Trees):

Finding the optimal nodes (roots) in a tree structure that minimize the maximum distance to all other nodes, which is valuable in network design and hierarchical structures.
Enhancing algorithms for graph theory problems where balancing and optimizing tree heights are required.
Use Case for Problem 311 (Sparse Matrix Multiplication):

Performing efficient matrix multiplication on sparse matrices where most elements are zero, optimizing performance for large-scale matrix operations.
Useful in scientific computing, machine learning, and data analytics where operations on sparse data are common.

Benefits

Practical Solutions: Provides practical implementations for handling dynamic 2D matrix queries, optimizing tree structures, and performing sparse matrix multiplications.
Educational Resource: Enhances project documentation with detailed examples of advanced data structures, tree algorithms, and matrix operations.
Community Engagement: Encourages knowledge sharing and contributions, fostering a stronger developer community around complex algorithmic problems.

Add ScreenShots

No response

Priority

High

Record

  • I have read the Contributing Guidelines
  • I'm a GSSOC'24 contributor
  • I have starred the repository
@aaryaanshh aaryaanshh added the enhancement New feature or request label Jul 23, 2024
@aaryaanshh
Copy link
Contributor Author

@ajay-dhangar Sir kindly assign me this under gssoc 2024.

Copy link

Hi @aaryaanshh! Thanks for opening this issue. We appreciate your contribution to this open-source project. Your input is valuable and we aim to respond or assign your issue as soon as possible. Thanks again!

@ajay-dhangar ajay-dhangar added GSSOC'24 GirlScript Summer of Code | Contributor level1 GirlScript Summer of Code | Contributor's Levels gssoc GirlScript Summer of Code | Contributor dsa-solution Label for solutions related to Data Structures & Algorithms. labels Jul 23, 2024
Copy link

Hello @aaryaanshh! Your issue #3803 has been closed. Thank you for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CodeHarborHub - Thanks for creating an issue! dsa-solution Label for solutions related to Data Structures & Algorithms. gssoc GirlScript Summer of Code | Contributor GSSOC'24 GirlScript Summer of Code | Contributor level1 GirlScript Summer of Code | Contributor's Levels
Projects
None yet
Development

No branches or pull requests

2 participants