Skip to content

feat: Add sentinel linear search algorithm#14581

Open
RahibRasheed149 wants to merge 1 commit intoTheAlgorithms:masterfrom
RahibRasheed149:feature/linear_search
Open

feat: Add sentinel linear search algorithm#14581
RahibRasheed149 wants to merge 1 commit intoTheAlgorithms:masterfrom
RahibRasheed149:feature/linear_search

Conversation

@RahibRasheed149
Copy link
Copy Markdown

Description

Adds a sentinel linear search algorithm which reduces the number
of comparisons per iteration.

Type of Change

  • New algorithm implementation

Checklist

  • I have added doctests
  • I have added type hints
  • Code follows snake_case naming

@algorithms-keeper algorithms-keeper Bot added enhancement This PR modified some existing files awaiting reviews This PR is ready to be reviewed labels Apr 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting reviews This PR is ready to be reviewed enhancement This PR modified some existing files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant