mgechev / mgechev/javascript-algorithms
Move the partitioning algorithms in separate files
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- JavaScript
- Stars
- 7.8k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Lomuto's and Hoare's partitioning functions could be reused across different algorithms.
It'll be a good idea to put them in separate files.
Contributor guide
No contributing guide indexed for this repository
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
Locate the existing Lomuto and Hoare partitioning functions and inspect the algorithms that currently use them. Check how those modules are imported and tested, then separate the functions so they can be reused without breaking the existing algorithms.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- data
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100