mgechev / mgechev/javascript-algorithms
Move the partitioning algorithms in separate files
Open
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
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