Skip to content

Conversation

xandersavvy
Copy link

Fixes #

Checklist:

  • 4 space indentation.
  • Coding conventions are followed.
  • Input is taken dynamically.
  • Sample Input / Output is added at the end of file.
  • Logic Documentation (Comments).
  • File names are correct.

Make sure these boxes are checked before your pull request (PR) is ready to be reviewed and merged. Thanks!

Changes proposed in this pull request:

  • For the Sum Of Arithmetic Progression code, we can use the formula and bring down the time complexity from O(n) to O(1).

Languages Used:

  • C
  • CPP
  • Go
  • Java

Files Added:

We're happy to help you get this ready -- don't be afraid to ask for help.

Thanks!

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.

1 participant