Skip to content

Commit

Permalink
Update Searches/SentinelSearch.php
Browse files Browse the repository at this point in the history
  • Loading branch information
darwinz authored Jun 14, 2024
1 parent dd2c8e8 commit 9c46f33
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Searches/SentinelSearch.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ function SentinelSearch($list, $target)
{
return ($len - 1);
}

//Put target at last index of array
$list[$len - 1] = $target;

Expand Down

0 comments on commit 9c46f33

Please sign in to comment.