trekhleb / trekhleb/javascript-algorithms
Luhn algorithm
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- JavaScript
- Stars
- 197k
- Forks
- 31k
- PR merge metrics
- No merged PRs in 30d
Description
I would like to add Luhn algorithm(https://en.wikipedia.org/wiki/Luhn_algorithm) to "src/algorithms/uncategorized/" is it ok for you?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing existing implementations in src/algorithms/uncategorized/ to learn the repository's structure and conventions. Use the linked Luhn algorithm reference to verify the behavior, and consider how similar algorithms are tested. Done means the algorithm is added in that directory and follows the project's established conventions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100