Skip to content

merge: optimize the countVowels algo#886

Merged
raklaptudirm merged 7 commits intoTheAlgorithms:masterfrom
fahimfaisaal:dev-string
Feb 17, 2022
Merged

merge: optimize the countVowels algo#886
raklaptudirm merged 7 commits intoTheAlgorithms:masterfrom
fahimfaisaal:dev-string

Conversation

@fahimfaisaal
Copy link
Contributor

@fahimfaisaal fahimfaisaal commented Feb 16, 2022

Welcome to JavaScript community

Open in Gitpod know more

Describe your change:

  • simplify the algo by using regex and String.prototype.match method
  • modified the JS Doc

Checklist:

  • I have read CONTRIBUTING.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. To ease review, please open separate PRs for separate algorithms.

simplify the algo by using regex and String.prototype.match method, and modified the JS Doc
fahimfaisaal and others added 4 commits February 17, 2022 09:19
@fahimfaisaal fahimfaisaal changed the title merge: optimize the countVowels algo merge: optimize the countVowels and Lower algo Feb 17, 2022
@fahimfaisaal fahimfaisaal changed the title merge: optimize the countVowels and Lower algo merge: optimize the countVowels algo Feb 17, 2022
@fahimfaisaal
Copy link
Contributor Author

Mistakenly I have pushed the last two commits, that's why I revert that. I'll add again this in the next pull request.

Copy link
Member

@raklaptudirm raklaptudirm left a comment

Choose a reason for hiding this comment

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

Format your code with standard.js.

@fahimfaisaal
Copy link
Contributor Author

Done ✅

@raklaptudirm raklaptudirm merged commit 68ca0ce into TheAlgorithms:master Feb 17, 2022
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