mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-07-05 00:01:37 +08:00
chore: remove unnecessary code (#1531)
Co-authored-by: IcarusTheFly <IcarusTheFly@users.noreply.github.com>
This commit is contained in:
@ -36,11 +36,4 @@ export function interpolationSearch(arr, key) {
|
||||
}
|
||||
|
||||
return -1
|
||||
}
|
||||
|
||||
// const arr = [2, 6, 8, 10, 12, 14, 16, 18, 20, 22, 26, 34, 39]
|
||||
|
||||
// interpolationSearch(arr, 2)
|
||||
// interpolationSearch(arr, 12)
|
||||
// interpolationSearch(arr, 1000)
|
||||
// interpolationSearch(arr, 39)
|
||||
}
|
Reference in New Issue
Block a user