Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: add findLongestRecurringCycle algorithm#1733

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
abda-gaye wants to merge3 commits intoTheAlgorithms:master
base:master
Choose a base branch
Loading
fromabda-gaye:master

Conversation

abda-gaye
Copy link

Describe your change:

  • Add an algorithm?

Checklist:

  • I have readCONTRIBUTING.md.
  • This pull request is all my own work -- I have not plagiarized.
  • I know that pull requests will not be merged if they fail the automated tests.
  • This PR only changes one algorithm file.
  • All new JavaScript files are placed inside an existing directory.
  • All filenames use the UpperCamelCase (PascalCase) style.
    • Example:Problem026.js andProblem026.test.js are allowed.
  • All new algorithms have a URL in their comments that points to Wikipedia or another similar explanation.
  • If this pull request resolves one or more open issues, then the commit message containsFixes: #{$ISSUE_NO}

Algorithm Description

I have implemented a new algorithm in theProblem026.js file, along with a corresponding test fileProblem026.test.js to ensure its functionality. This algorithm addresses the problem described in the following link:Project Euler Problem 26.

@codecov-commenter
Copy link

codecov-commenter commentedOct 16, 2024
edited
Loading

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.86%. Comparing base(ff314a2) to head(fd1d6e6).

Additional details and impacted files
@@            Coverage Diff             @@##           master    #1733      +/-   ##==========================================+ Coverage   84.76%   84.86%   +0.10%==========================================  Files         378      380       +2       Lines       19742    19874     +132       Branches     2955     2978      +23     ==========================================+ Hits        16735    16867     +132  Misses       3007     3007

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report?Share it here.

@abda-gaye
Copy link
Author

add findLongestRecurringCycle algorithm with tests

Copy link
Collaborator

@appgurueuappgurueu left a comment

Choose a reason for hiding this comment

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

The logic checks out. However:

  • This also adds a solution for problem 27, which should be in a different PR.
  • There aremany redundant comments. There should probably be half as many comments, if not much fewer. To give just one example of a redundant comment, considerlet maxCycleLength = 0 // Store the maximum cycle length found.
  • The tests are also pretty repetitive. They should just useit.each.

@abda-gaye
Copy link
Author

abda-gaye commentedOct 20, 2024 via email

my function answers problem026Le dim. 20 oct. 2024 à 18:19, Lamine Gaye ***@***.***> a écrit :
it looks like you don't want my participation thank you ciao Le dim. 20 oct. 2024 à 18:17, Lars Müller ***@***.***> a écrit :> ***@***.**** requested changes on this pull request.>> The logic checks out. However:>> - This also adds a solution for problem 27, which should be in a> different PR.> - There are *many* redundant comments. There should probably be half> as many comments, if not much fewer. To give just one example of a> redundant comment, consider let maxCycleLength = 0 // Store the> maximum cycle length found.> - The tests are also pretty repetitive. They should just use it.each.>> —> Reply to this email directly, view it on GitHub> <#1733 (review)>,> or unsubscribe> <https://github.com/notifications/unsubscribe-auth/AZGAU5LJLWFRNLPBAJLS62LZ4PXTVAVCNFSM6AAAAABQBXRF6GVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDGOBQGY2DSNBZGQ>> .> You are receiving this because you authored the thread.Message ID:> ***@***.***>>

@appgurueu
Copy link
Collaborator

it looks like you don't want my participation thank you ciao

I'm not sure how you arrived at this conclusion. I reviewed your participation because I wouldn't want it to merge as-is yet.

@abda-gaye
Copy link
Author

abda-gaye commentedOct 20, 2024 via email

so give me the changes I need to make, I made 3 pull requests and sincethen I haven't seen a response, I even thought that the repository is nolonger maintainedLe dim. 20 oct. 2024 à 18:26, Lars Müller ***@***.***> aécrit :
it looks like you don't want my participation thank you ciao I'm not sure how you arrived at this conclusion. I reviewed your participation because I wouldn't want it to merge as-is yet. — Reply to this email directly, view it on GitHub <#1733 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AZGAU5JH32VLUFJWX75COFTZ4PYU3AVCNFSM6AAAAABQBXRF6GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRVGE3DSMBTG4> . You are receiving this because you authored the thread.Message ID: ***@***.***>

@appgurueu
Copy link
Collaborator

so give me the changes I need to make

I already explained what you need to change. Is there anything you don't understand about my review comments?

I made 3 pull requests and since then I haven't seen a response

As far as I'm concerned, I only see you having made a single pull request in a repository I maintain: This one.
Also, obligatory please be patient.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@appgurueuappgurueuappgurueu requested changes

@raklaptudirmraklaptudirmAwaiting requested review from raklaptudirmraklaptudirm is a code owner

Requested changes must be addressed to merge this pull request.

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@abda-gaye@codecov-commenter@appgurueu@gaye-lamine

[8]ページ先頭

©2009-2025 Movatter.jp