Commit Graph

2 Commits

Author SHA1 Message Date
Lars Müller
ce3f01f54c
Sentinel search: Remove bounds check (fixes #887) (#888)
... which is the entire point of sentinel search
2021-10-16 19:28:37 -05:00
Regan Yue
3cfdbb040d
feat: Add the Sentinel Search algorithm (#883)
* Create sentinel_linear_search.c

This is a search algorithm that uses sentinels.

* Update sentinel_linear_search.c

Added some notes and made some changes

* updating DIRECTORY.md

* Apply suggestions from code review

thx u

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update sentinel_linear_search.c

* Apply suggestions from code review

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-10-15 11:13:10 -05:00