trekhleb / trekhleb/javascript-algorithms
Linear Sort Algorithm?
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 197k
- Forks
- 31k
- PR merge metrics
- No merged PRs in 30d
Description
Any way the linear search algorithm can be added to this repo?
You can use the three types of linear search:
- linearSearch
- betterLinearSearch
- sentinalLinearSearch
There is a good implementation of this in type script found at the following repo:
algorithms-unlocked-linear-search
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 with the linked reference implementation in src/linear_search.ts and compare its three variants: linearSearch, betterLinearSearch, and sentinalLinearSearch. Then locate the repository's corresponding algorithm organization and conventions. The work is done when the three requested linear-search variants are added consistently to this JavaScript repository.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- data
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100