Skip to content

Solution #907 - Neha Amin - 15/07/2025 #70

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

NEHA-AMIN
Copy link
Contributor

@NEHA-AMIN NEHA-AMIN commented Jul 16, 2025

This PR adds a solution for Leetcode Problem: Sum of Subarray Minimums.
The goal is to compute the sum of the minimum element across all contiguous subarrays for a given integer array.
A highly efficient solution is provided using a monotonic stack that allows us to determine, for each element in the array, how many subarrays it serves as the minimum value.

@NEHA-AMIN NEHA-AMIN changed the title Solution for Sum Subarray Min #7 - Solution for Sum Subarray Min - Medium Jul 17, 2025
@NEHA-AMIN NEHA-AMIN changed the title #7 - Solution for Sum Subarray Min - Medium #7 - Sum Subarray Min - Medium Jul 17, 2025
@NEHA-AMIN NEHA-AMIN changed the title #7 - Sum Subarray Min - Medium Solution #907 - Sum Subarray Min - Medium Jul 19, 2025
Copy link
Member

@JRS296 JRS296 left a comment

Choose a reason for hiding this comment

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

Kindly use the template and fix the naming of the files (examplanation.md and file name)

@NEHA-AMIN NEHA-AMIN force-pushed the feature/subarray-sum-min branch from 6197aab to 405a973 Compare July 19, 2025 08:04
@NEHA-AMIN NEHA-AMIN changed the title Solution #907 - Sum Subarray Min - Medium Solution #907 - Neha Amin - 15/07/2025 Jul 19, 2025
@NEHA-AMIN NEHA-AMIN requested a review from JRS296 July 19, 2025 08:10
@NEHA-AMIN NEHA-AMIN force-pushed the feature/subarray-sum-min branch from 405a973 to 86762bc Compare July 21, 2025 06:15
@NEHA-AMIN
Copy link
Contributor Author

Kindly use the template and fix the naming of the files (examplanation.md and file name)

I've made the changes. Could you review it again?

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