javascript-algorithms
javascript-algorithms copied to clipboard
Linear Sort Algorithm?
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
Can you do PR with your change?
Is Any PR done ?
https://github.com/trekhleb/javascript-algorithms/pull/415/files - Sentinal Linear Search