Skip to content

Added Prefix sum algorithm in c++#43

Open
DeepaliRathi wants to merge 5 commits into
khagapati-bagh:mainfrom
DeepaliRathi:main
Open

Added Prefix sum algorithm in c++#43
DeepaliRathi wants to merge 5 commits into
khagapati-bagh:mainfrom
DeepaliRathi:main

Conversation

@DeepaliRathi
Copy link
Copy Markdown

I used Prefix sum algorithm in solving a Codeforces problem(248 div2 problem B).
Kindly accept my request.It will be of great help.

I used Prefix sum algorithm in solving a Codeforces problem(248  div2 problem B).
Kindly accept my request.It will be of great help.
Copy link
Copy Markdown
Owner

@khagapati-bagh khagapati-bagh left a comment

Choose a reason for hiding this comment

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

Hi @DeepaliRathi
Welcome to hactoberfest2k21. Thank you for your contribution.

Here are some comments for you

  1. Please follow contribution guidelines and modify accordingly.
  2. Move your file inside C++/Algorithm directory.
  3. Rename your file as prefixSum.cpp
  4. Don't forget to format your code.

Edited : changed file name , moved it in c++/Algorithm folder ,formatted code as per instruction.
I have added edited Prefix sum algorithm solving a codechef problem(248 div2 problem B)
Kindly accept my request ,it would be of great help :)
Added new file in specified folder.
Deleted previous file due wrong file name.
Added edited file after renaming it correctly.
I added renamed file of problem of prefix sum algorithm from Codeforces(248 div2 problem B.
Kindly accept my request ,it would be of great help :)
Copy link
Copy Markdown
Owner

@khagapati-bagh khagapati-bagh left a comment

Choose a reason for hiding this comment

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

Hi @DeepaliRathi

  1. Please format your code with code formatter which I've mentioned in the contribution guidelines and modify accordingly.
  2. Add comments which are mentioned in the contribution guidelines at the top
  3. Add time, space complexity, what is n at the top

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