mirror of
https://github.com/TheAlgorithms/C.git
synced 2026-02-13 21:42:29 +00:00
[BUG] Sentinel search contains length comparison #104
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @appgurueu on GitHub (Oct 15, 2021).
Description
See
3cfdbb040d (r58105657)- the point of sentinel search is literally to remove that comparisonExpected behavior
No comparison
Actual behavior
One comparison
Possible fix
Remove the
ifstatement and the containedbreakSteps to reproduce
None
Context
None
Additional information
No response
@Panquesito7 commented on GitHub (Oct 15, 2021):
Would you like to work on this, @appgurueu? 🙂