Skip to content

Conversation

Radhey644
Copy link
Contributor

@Radhey644 Radhey644 commented Oct 25, 2023

Title :Prefix Sum

Issue no : #142

Description

A prefix sum is a method to quickly calculate the sum of elements in an array up to a given index. It simplifies range queries and cumulative operations by maintaining a running sum in a separate array. This optimization technique is essential for efficient sum calculations in algorithms.

Screenshots

image
image

Checklist

  • I have read and agree to abide by the Code of Conduct
  • I have read and followed the Contributing Guidelines

Copy link
Owner

@himanshu-03 himanshu-03 left a comment

Choose a reason for hiding this comment

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

Hey sorry but we arent accepting c/c++ codes here.

@Radhey644
Copy link
Contributor Author

I am so sorry sir,
I am giving you It is the python format instead.

@Radhey644
Copy link
Contributor Author

image
The Work Is Upgraded

Copy link
Owner

@himanshu-03 himanshu-03 left a comment

Choose a reason for hiding this comment

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

I guess this should be coming under the Math directory and not the Array directory

@Radhey644
Copy link
Contributor Author

Work Done!!

Copy link
Owner

@himanshu-03 himanshu-03 left a comment

Choose a reason for hiding this comment

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

LGTM!

@himanshu-03
Copy link
Owner

Great job!
Thank you for contributing. Do give this repository a star if you feel like ✨️

@himanshu-03 himanshu-03 linked an issue Oct 27, 2023 that may be closed by this pull request
1 task
@himanshu-03 himanshu-03 merged commit aa24649 into himanshu-03:main Oct 27, 2023
@himanshu-03 himanshu-03 added the hacktoberfest-accepted The pull request is overall hacktoberfest acceptable label Oct 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest-accepted The pull request is overall hacktoberfest acceptable
Projects
None yet
Development

Successfully merging this pull request may close these issues.

I want to add the Prefix Sum Algorithm
2 participants