mirror of
https://github.com/TheAlgorithms/PHP.git
synced 2025-01-17 15:18:13 +01:00
add ExponentialSearch Algorithm
This commit is contained in:
parent
627564b686
commit
cb97bccac1
3
.gitignore
vendored
3
.gitignore
vendored
@ -6,4 +6,5 @@ composer.lock
|
||||
|
||||
.phpunit.result.cache
|
||||
|
||||
GITING.md
|
||||
GITING.md
|
||||
.gitignore
|
@ -1,10 +1,11 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* Exponential Search
|
||||
* Exponential Search Algorithm
|
||||
*
|
||||
* The algorithm consists of two stages. The first stage determines a
|
||||
* range in which the search key would reside if it were in the list.
|
||||
* The algorithm consists of two stages.
|
||||
* The first stage determines a range in which the search key would reside
|
||||
**** if it were in the list.
|
||||
* In the second stage, a binary search is performed on this range.
|
||||
*
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user