Skip to content

Conversation

@ayush523
Copy link
Contributor

@ayush523 ayush523 commented Sep 15, 2020

@Panquesito7 Panquesito7 added automated tests are failing Do not merge until tests pass enhancement New feature or request Proper Documentation Required requested to write the documentation properly labels Sep 15, 2020
@Panquesito7 Panquesito7 linked an issue Sep 15, 2020 that may be closed by this pull request
@ayush523
Copy link
Contributor Author

What is the problem with the file that I have added?Please help

Copy link
Member

@Panquesito7 Panquesito7 left a comment

Choose a reason for hiding this comment

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

Please read the Contribution Guidelines and fix clang-tidy warnings.

@Panquesito7 Panquesito7 added the requested changes changes have been requested label Sep 15, 2020
@Panquesito7
Copy link
Member

The file does not need to be in a specific folder for this algorithm.
It can be in the others folder, or in its appropriate folder. 🙂

@ayush523
Copy link
Contributor Author

ayush523 commented Sep 16, 2020 via email

@ayush523
Copy link
Contributor Author

I have made the changes.Please check.

@Panquesito7 Panquesito7 removed the automated tests are failing Do not merge until tests pass label Sep 16, 2020
Copy link
Member

@Panquesito7 Panquesito7 left a comment

Choose a reason for hiding this comment

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

Looks much better, good work. 😄 👍
Now, the next thing we shall do is to add documentation.

Confused? See #962 as a reference. 🙂

@ayush523
Copy link
Contributor Author

Thanx. I did the changes which you suggested.

@ayush523
Copy link
Contributor Author

Any more changes required?

@Panquesito7
Copy link
Member

Yes, please add documentation like in #962.

Co-authored-by: David Leal <halfpacho@gmail.com>
ayush523 and others added 3 commits September 17, 2020 10:57
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
ayush523 and others added 10 commits September 19, 2020 00:02
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
@ayush523
Copy link
Contributor Author

@Panquesito7 -I don't understand why the code is not working after the commits suggested.Please help.

ayush523 and others added 4 commits September 20, 2020 22:31
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
Copy link
Member

@Panquesito7 Panquesito7 left a comment

Choose a reason for hiding this comment

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

LGTM, good work. 👍 😄

@Panquesito7 Panquesito7 added approved Approved; waiting for merge and removed requested changes changes have been requested labels Sep 20, 2020
@Panquesito7 Panquesito7 requested a review from kvedala September 20, 2020 17:16
@ayush523
Copy link
Contributor Author

Thank you @Panquesito7

@kvedala
Copy link
Collaborator

kvedala commented Sep 23, 2020

@Panquesito7 do you confirm the algorithm is a different implementation than the existing one? thank you

@Panquesito7
Copy link
Member

Yes, implementation looks different. 🙂
I like this one rather than the current one:

  • Has very good documentation
  • Uses C++ standard-libraries/functions
  • Well-structured and as per the repository standards

Can be merged. 👍

@kvedala kvedala merged commit 7f7b2b0 into TheAlgorithms:master Sep 23, 2020
@ayush523 ayush523 deleted the kadane branch September 24, 2020 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Approved; waiting for merge enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE]Create Kadane's Algorithm

3 participants